|
@@ -700,6 +700,7 @@
|
|
|
this.popTitle = '注册'
|
|
|
this.dialogFormVisible = true;
|
|
|
setTimeout(() => {
|
|
|
+ (this as any).$refs.addFormId.clearValue();
|
|
|
if ((this as any).$refs.addFormId) (this as any).$refs.addFormId.setValue({});
|
|
|
}, 0)
|
|
|
}
|
|
@@ -708,8 +709,8 @@
|
|
|
// console.log(e);
|
|
|
this.popTitle = '编辑'
|
|
|
this.dialogFormVisible = true;
|
|
|
- (this as any).$refs.addFormId.clearValue();
|
|
|
setTimeout(() => {
|
|
|
+ (this as any).$refs.addFormId.clearValue();
|
|
|
if ((this as any).$refs.addFormId) (this as any).$refs.addFormId.setValue(e);
|
|
|
}, 0)
|
|
|
}
|
|
@@ -727,7 +728,6 @@
|
|
|
this.popTitle = '编辑'
|
|
|
this.dialogFormVisible2 = true;
|
|
|
this.isAdd = false;
|
|
|
- (this as any).$refs.addFormId.clearValue();
|
|
|
setTimeout(() => {
|
|
|
if ((this as any).$refs.addFormId2) (this as any).$refs.addFormId2.setValue(e);
|
|
|
}, 0)
|