修改bug

prod
wangwei 2 years ago
parent a10bedbe1d
commit 57ccb59237

@ -451,6 +451,9 @@ export default {
//
this.formVisible = false;
this.subFormVisible = false;
let Item = JSON.parse(localStorage.getItem('obj'))
this.subData=Item;
this.getSubList();
return true;
},
//
@ -484,6 +487,7 @@ export default {
this.subFromName = formName;
if (formName === "edit") {
this.subData = data;
localStorage.setItem('obj', JSON.stringify(this.subData))
} else if (formName === "add") {
this.subData = {};
this.subData.parentId = data.code;

Loading…
Cancel
Save