fix:修复新增修改后回显问题
This commit is contained in:
parent
5e3f9b0356
commit
b93c067e83
@ -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");
|
||||
},
|
||||
// 重置查询操作
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user