From 7f9eb61d710569dd01daf33dfe88cbc2c30947e9 Mon Sep 17 00:00:00 2001 From: songhuangfeng123 <shf18767906695@163.com> Date: 星期五, 01 四月 2022 10:32:21 +0800 Subject: [PATCH] fix --- src/views/safetyproduction/checklist.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/safetyproduction/checklist.vue b/src/views/safetyproduction/checklist.vue index 91e3c2b..9dc6c1b 100644 --- a/src/views/safetyproduction/checklist.vue +++ b/src/views/safetyproduction/checklist.vue @@ -435,9 +435,6 @@ } }, coAdd(val, type) { - this.$nextTick(() => { - this.$refs["form"].clearValidate(); - }); this.titleN = type; if (type == "新增") { this.dialogVisible = true; @@ -452,6 +449,9 @@ ); this.formInline=JSON.parse(JSON.stringify(val)); } + this.$nextTick(() => { + this.$refs["form"].clearValidate(); + }); }, listAdd() { this.$refs["form"].validate((valid) => { -- Gitblit v1.9.2