From 5318e76bbef5ac0273b16402e4839233876f6ae8 Mon Sep 17 00:00:00 2001
From: charles <981744753@qq.com>
Date: 星期一, 24 六月 2024 19:38:30 +0800
Subject: [PATCH] fix:修复了一部分bug

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

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

--
Gitblit v1.8.0