Browse Source

隐藏上传按钮

tangning 2 days ago
parent
commit
07961ab501
1 changed files with 2 additions and 1 deletions
  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,
       };
     },
   });