소스 검색

修复表单验证bug

hcf 1 년 전
부모
커밋
71f6d02b7e
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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)
 		}