修改
This commit is contained in:
parent
8bf76511f5
commit
4e415abe7e
@ -669,12 +669,10 @@
|
|||||||
let needSaveData = editor.getCurrentPage().save();
|
let needSaveData = editor.getCurrentPage().save();
|
||||||
console.log(needSaveData, 'needSaveData');
|
console.log(needSaveData, 'needSaveData');
|
||||||
// JSON.parse(JSON.stringify(needSaveData))
|
// JSON.parse(JSON.stringify(needSaveData))
|
||||||
// console.log(JSON.stringify(needSaveData), 'text1111');
|
|
||||||
const text =JSON.stringify(needSaveData)
|
const text =JSON.stringify(needSaveData)
|
||||||
console.log(JSON.parse(JSON.stringify(text)), 'text');
|
console.log(JSON.parse(JSON.stringify(text)), 'text');
|
||||||
localStorage.setItem("flowData", JSON.stringify(needSaveData));
|
localStorage.setItem("flowData", JSON.stringify(needSaveData));
|
||||||
_this.save(needSaveData);
|
_this.save(needSaveData);
|
||||||
_this.$message.success("数据已保存1111");
|
|
||||||
},
|
},
|
||||||
// 反向命令
|
// 反向命令
|
||||||
back(editor) {
|
back(editor) {
|
||||||
|
|||||||
@ -525,7 +525,6 @@ export default {
|
|||||||
// this.nodeAttributeForm.labelconcent=newVal.labelconcent
|
// this.nodeAttributeForm.labelconcent=newVal.labelconcent
|
||||||
// this.nodeAttributeForm.labeltitle=newVal.labeltitle
|
// this.nodeAttributeForm.labeltitle=newVal.labeltitle
|
||||||
this.nodeAttributeForm.label = newVal.labeltitle + '\n' + newVal.labelconcent;
|
this.nodeAttributeForm.label = newVal.labeltitle + '\n' + newVal.labelconcent;
|
||||||
// console.log('this.nodeAttributeForm.label', this.nodeAttributeForm.label)
|
|
||||||
} else {
|
} else {
|
||||||
this.nodeAttributeForm.label = newVal.label
|
this.nodeAttributeForm.label = newVal.label
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user