更新了某些文本 让提示更加友好
根据scuxiatian提供的方案 修改了workflow前端组件的一些bug
This commit is contained in:
@@ -121,6 +121,7 @@ export default function(G6){
|
||||
//type、shape属性同时存在即兼容之前版本的数据,又兼容g6的升级
|
||||
addModel.type = getShapeName(clazz);
|
||||
addModel.shape = getShapeName(clazz);
|
||||
addModel.hideIcon = false;
|
||||
const timestamp = new Date().getTime();
|
||||
const id = clazz + timestamp;
|
||||
const x = p.x;
|
||||
|
@@ -150,6 +150,10 @@
|
||||
this.selectedModel = this.processModel;
|
||||
}
|
||||
});
|
||||
this.graph.on('aftercommandexecute',(command)=>{
|
||||
if (command.name !== 'undo' && command.name !== 'redo') return;
|
||||
// 更新selectedModel
|
||||
});
|
||||
const page = this.$refs['canvas'];
|
||||
const graph = this.graph;
|
||||
const height = this.height-1;
|
||||
|
Reference in New Issue
Block a user