diff --git a/packages/plugin-undo-redo/package.json b/packages/plugin-undo-redo/package.json index 1a8a2cc51..5bfc4191b 100644 --- a/packages/plugin-undo-redo/package.json +++ b/packages/plugin-undo-redo/package.json @@ -24,7 +24,6 @@ "@ali/lowcode-editor-skeleton": "^1.0.5-0", "@ali/lowcode-types": "^1.0.5-0", "@ali/lowcode-utils": "^1.0.5-0", - "@ali/ve-icons": "^4.1.14", "react": "^16.8.1", "react-dom": "^16.8.1" }, diff --git a/packages/plugin-undo-redo/src/index.tsx b/packages/plugin-undo-redo/src/index.tsx index 98bec6274..8357bf4e2 100644 --- a/packages/plugin-undo-redo/src/index.tsx +++ b/packages/plugin-undo-redo/src/index.tsx @@ -1,7 +1,6 @@ import React, { PureComponent } from 'react'; import { Editor } from '@ali/lowcode-editor-core'; -import Icon from '@ali/ve-icons'; -import { Button } from '@alifd/next'; +import { Button, Icon } from '@alifd/next'; import { Designer } from '@ali/lowcode-designer'; import { PluginProps } from '@ali/lowcode-types'; @@ -84,23 +83,21 @@ export default class UndoRedo extends PureComponent { size="medium" data-tip="撤销" data-dir="bottom" - className="ve-local-history-item" onClick={this.handleUndoClick} ghost disabled={!undoEnable} > - + );