Pārlūkot izejas kodu

修复表单验证bug

hcf 1 gadu atpakaļ
vecāks
revīzija
71f6d02b7e
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      src/views/audit/depots/index.vue

+ 2 - 2
src/views/audit/depots/index.vue

@@ -700,7 +700,7 @@
 			this.popTitle = '注册'
 			this.dialogFormVisible = true;
 			setTimeout(() => {
-				// (this as any).$refs.addFormId.clearValue();
+				(this as any).$refs.addFormId.clearValue();
 				if ((this as any).$refs.addFormId) (this as any).$refs.addFormId.setValue({});
 			}, 0)
 		}
@@ -710,7 +710,7 @@
 			this.popTitle = '编辑'
 			this.dialogFormVisible = true;
 			setTimeout(() => {
-				// (this as any).$refs.addFormId.clearValue();
+				(this as any).$refs.addFormId.clearValue();
 				if ((this as any).$refs.addFormId) (this as any).$refs.addFormId.setValue(e);
 			}, 0)
 		}