浏览代码

修复表单验证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)
 		}