lucw пре 7 месеци
родитељ
комит
5d126bc17d

+ 4 - 2
src/views/technology/production/components/user-setting-matter-add.vue

@@ -338,8 +338,10 @@
       // 关闭清空formData
       handleClose() {
         this.formData = JSON.parse(JSON.stringify(this.formBaseData));
-        this.$refs.formRef?.clearValidate();
-        this.visible = false;
+        this.$nextTick(() => {
+          this.$refs.formRef.clearValidate();
+          this.visible = false;
+        });
       },
       // 去选择记录规则
       selectReleaseId() {