Skip to content

Commit

Permalink
fix: 将 IconFont 组件通过本地 js 实现替换接口请求方式 (#7)
Browse files Browse the repository at this point in the history
* fix: 修复初始化页面两次出发bbox问题

* fix: 命名规范修改

* fix: useDebounce命名规范修改

* fix: iconfont组件迁移到本地

* fix: 删除无用代码

* fix: 版本升级

* fix: 修复#问题

* fix: 删除icon文件只保留js文件

* fix: 修复ci问题

---------

Co-authored-by: syb01094648 <syb01094648@antgroup.com>
  • Loading branch information
websybin and syb01094648 authored Oct 25, 2023
1 parent 113c2d3 commit 0b736e2
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/l7-editor",
"version": "1.1.3",
"version": "1.1.4",
"description": "Geographic data editing tool based on L7",
"files": [
"lib",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { Tooltip, message } from 'antd';
import classNames from 'classnames';
import React from 'react';
import { useTranslation } from 'react-i18next';
import { IconFont } from '../../../constants';
import { useGlobal } from '../../../recoil';
import useStyle from './styles';

Expand Down Expand Up @@ -35,7 +36,7 @@ const SaveMapOptionsControl: React.FC = () => {
onClick={onSave}
type="button"
>
<i className="iconfont icon-ditu l7-iconfont" />
<IconFont type="icon-ditu " />
</button>
</Tooltip>
</CustomControl>
Expand Down
1 change: 1 addition & 0 deletions src/constants/iconfont.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0b736e2

Please sign in to comment.