From e9cf7f821a06d2e03c36af011f043f1267e1221e Mon Sep 17 00:00:00 2001
From: wuxing <wuxing>
Date: 星期一, 24 六月 2024 19:48:51 +0800
Subject: [PATCH] 修复bug

---
 src/views/systemSetting/workshopManage/components/addDialog.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/views/systemSetting/workshopManage/components/addDialog.vue b/src/views/systemSetting/workshopManage/components/addDialog.vue
index 06b7048..50da818 100644
--- a/src/views/systemSetting/workshopManage/components/addDialog.vue
+++ b/src/views/systemSetting/workshopManage/components/addDialog.vue
@@ -138,12 +138,12 @@
 
   },
   watch: {
-    'editConfig.visible'(newVal) {
+    'editDiaConfig.visible'(newVal) {
       if (newVal) {
-        this.$nextTick(()=>{
-          this.$refs["ruleForm"].resetFields();
+        // this.$nextTick(()=>{
           this.editConfig=this.editDiaConfig
-        })
+          this.$refs["ruleForm"].resetFields();
+        // })
       }
     },
   },

--
Gitblit v1.8.0