From 49f6fd9f5f8ae4f30799c9fc27278796a927744d Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期一, 19 六月 2023 18:12:01 +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