瀏覽代碼

隐藏上传按钮

tangning 3 天之前
父節點
當前提交
07961ab501
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/views/productOperation/cameraScene.vue

+ 2 - 1
src/views/productOperation/cameraScene.vue

@@ -47,7 +47,7 @@
       <div class="desc-wrap-BasicTable">
         <BasicTable @register="registerTable">
           <template #toolbar>
-            <a-button type="primary" v-if="tableType == 0" @click="handleUpload"> 上传</a-button>
+            <a-button type="primary" v-if="tableType == 0 && getCheckPerm('scenes-upload')" @click="handleUpload"> 上传</a-button>
             <!-- <a-button type="primary" @click="exportExcel"> 导出1</a-button> -->
           </template>
 
@@ -889,6 +889,7 @@
         getStatus,
         hanleDowm,
         handleUpload,
+        getCheckPerm,
       };
     },
   });