From 4d15b0b7853292b3f2a80a23af19955375f12e80 Mon Sep 17 00:00:00 2001
From: fujunling <2984387807@qq.com>
Date: 星期二, 20 六月 2023 11:09:39 +0800
Subject: [PATCH] Merge branch 'master' of http://dev.vci-tech.com:1065/r/ubcs

---
 Source/UBCS-WEB/src/components/template/SetPersonnel.vue |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/template/SetPersonnel.vue b/Source/UBCS-WEB/src/components/template/SetPersonnel.vue
index 07ebde0..a03ab9d 100644
--- a/Source/UBCS-WEB/src/components/template/SetPersonnel.vue
+++ b/Source/UBCS-WEB/src/components/template/SetPersonnel.vue
@@ -73,6 +73,10 @@
     watch: {
         visible(n) {
             this.dialogVisible = n;
+            if(n){
+              this.apiInit()
+              this.apiDict()
+            }
         },
         dialogVisible(n) {
             this.$emit('update:visible', n)
@@ -98,8 +102,8 @@
     },
 
     mounted() {
-        this.apiInit()
-        this.apiDict()
+        // this.apiInit()
+        // this.apiDict()
     },
     methods: {
         saveParam() {
@@ -254,4 +258,4 @@
     justify-content: end;
     padding-bottom: 10px;
 }
-</style>
\ No newline at end of file
+</style>

--
Gitblit v1.9.3