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