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