mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-02-28 12:50:38 +00:00
fix: remove vision dependency from plugin-undo-redo
undo-redo 插件移除 vison 相关依赖 Link: https://code.aone.alibaba-inc.com/ali-lowcode/ali-lowcode-engine/codereview/3629531 * fix: remove vision dependency from plugin-undo-redo
This commit is contained in:
parent
1f45b05028
commit
08b93f9c0a
@ -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"
|
||||
},
|
||||
|
||||
@ -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<IProps, IState> {
|
||||
size="medium"
|
||||
data-tip="撤销"
|
||||
data-dir="bottom"
|
||||
className="ve-local-history-item"
|
||||
onClick={this.handleUndoClick}
|
||||
ghost
|
||||
disabled={!undoEnable}
|
||||
>
|
||||
<Icon name="amindUndo" size="18px" />
|
||||
<Icon type="houtui" />
|
||||
</Button>
|
||||
<Button
|
||||
size="medium"
|
||||
data-tip="恢复"
|
||||
data-dir="bottom"
|
||||
className="ve-local-history-item"
|
||||
onClick={this.handleRedoClick}
|
||||
ghost
|
||||
disabled={!redoEnable}
|
||||
>
|
||||
<Icon name="forward" size="18px" />
|
||||
<Icon type="qianjin" />
|
||||
</Button>
|
||||
</div>
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user