fix:修复新增修改后回显问题

This commit is contained in:
17630416519 2025-12-24 17:18:04 +08:00
parent 5e3f9b0356
commit b93c067e83

View File

@ -193,6 +193,7 @@ export default {
//
cancel() {
this.open = false;
this.open1 = false;
this.reset();
},
//
@ -200,6 +201,7 @@ export default {
this.form = {
id: undefined,
parentId: '0',
area: undefined,
levelName: undefined,
lightColor: undefined,
applyScenario: undefined,
@ -208,6 +210,10 @@ export default {
updatedBy: undefined,
updatedTime: undefined,
};
this.form1={
parentArea: undefined,
area: undefined,
}
this.resetForm("form");
},
//