This commit is contained in:
shidongli 2024-06-14 17:48:03 +08:00
parent cb2c174b60
commit cc0b80b0cb

View File

@ -610,7 +610,7 @@ export default {
insertScriptEdgeNode(newObj).then(res => { insertScriptEdgeNode(newObj).then(res => {
if (res.code == 200) { if (res.code == 200) {
_this.$message.success("数据保存成功"); _this.$message.success("数据保存成功");
this.getlist() _this.getlist()
} else { } else {
_this.$modal.msgError(res.msg); _this.$modal.msgError(res.msg);
} }
@ -630,7 +630,7 @@ export default {
let test = JSON.parse(testcs) let test = JSON.parse(testcs)
console.log(testcs, 'JSON.stringify(needSaveData)'); console.log(testcs, 'JSON.stringify(needSaveData)');
console.log(test, 'test'); console.log(test, 'test');
localStorage.setItem("flowData", JSON.stringify(needSaveData)); // localStorage.setItem("flowData", JSON.stringify(needSaveData));
_this.save(needSaveData); _this.save(needSaveData);
}, },