From 4dca9065616e86c37cabaa7601962f1feb1942ae Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期四, 09 十一月 2023 16:08:58 +0800
Subject: [PATCH] 主数据不同节点BUG

---
 Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue |   20 +++++++++-----------
 1 files changed, 9 insertions(+), 11 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue b/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
index bdcca1e..0d72866 100644
--- a/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
+++ b/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
@@ -6,15 +6,15 @@
           <div>
           </div>
           <el-row style="width: 100%;margin-bottom: 10px">
-            <div style="margin-bottom: 10px">
-              <el-button v-for="(item, index) in masterVrBtnList"
-                         v-if="!['PREVIEW', 'DELETEFILE', 'revisefile', 'DOWNLOADFILE', 'UPLOADFILE'].includes(item.uniqueFlag)"
-                         :key="index" plain size="small"
-                         type="primary"
-                         @click="handleBtnClick(item)">{{
-                  item.name
-                }}
-              </el-button>
+            <div style="margin-bottom: 10px" >
+                <el-button v-for="(item, index) in masterVrBtnList"
+                           v-if="!['PREVIEW', 'DELETEFILE', 'revisefile', 'DOWNLOADFILE', 'UPLOADFILE'].includes(item.uniqueFlag)"
+                           :key="index" plain size="small"
+                           type="primary"
+                           @click="handleBtnClick(item)">{{
+                    item.name
+                  }}
+                </el-button>
               <span v-if="tableHeadFindData.length > 0">
               <el-select slot="prepend" v-model="keyWordFind" placeholder="璇烽�夋嫨" size="small">
                 <el-option v-for="item in tableHeadFindData" :key="item.id" :label="item.label"
@@ -424,9 +424,7 @@
     },
     tableHeadBtnData: {
       handler(newval) {
-        if (newval.length !== 0) {
           this.masterVrBtnList = newval
-        }
       },
       deep: true
     },

--
Gitblit v1.9.3