Sfoglia il codice sorgente

修复表单验证bug

hcf 1 anno fa
parent
commit
71f6d02b7e
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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)
 		}