From b0232a13beedbafe3e9a02b0006718655f632826 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期二, 07 五月 2024 18:30:46 +0800
Subject: [PATCH] 车间管理模块 修改操作的时候数据未刷新的问题修改

---
 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