From b68fe6af98e37409010e16c93f312d825f6276a3 Mon Sep 17 00:00:00 2001
From: wangting <675591594@qq.com>
Date: 星期三, 21 六月 2023 15:34:52 +0800
Subject: [PATCH] 附件列表上传、修改

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