Browse Source

资料库权限添加

huangguoce 6 months ago
parent
commit
bf47b7b679
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/attachment/List.vue

+ 2 - 2
src/views/attachment/List.vue

@@ -19,7 +19,7 @@
         <div class="jp-table">
             <vxe-toolbar ref="dataSetToolbar" :refresh="{ query: refreshList }" export print custom>
                 <template #buttons>
-                    <el-button v-if="hasPermission('database:datamodel:dataSet:add')" type="primary" icon="plus"
+                    <el-button v-if="hasPermission('attachment:add')" type="primary" icon="plus"
                         @click="add()">上传附件</el-button>
                 </template>
                 <template #tools>
@@ -43,7 +43,7 @@
                             <div>
                                 <el-link type="primary" :underline="false" @click="showFile(scope.row)">{{
                                     scope.row.fileName
-                                }}</el-link>
+                                    }}</el-link>
                             </div>
                         </template>
                     </vxe-column>