Просмотр исходного кода

!411 SYSTEM:修复【系统管理/岗位管理/新增按钮与导出按钮】权限hasPermi错误
Merge pull request !411 from aqiangaqiang/master

芋道源码 1 год назад
Родитель
Сommit
52889e3504
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/views/system/post/index.vue

+ 2 - 2
src/views/system/post/index.vue

@@ -41,7 +41,7 @@
           type="primary"
           plain
           @click="openForm('create')"
-          v-hasPermi="['system:notice:create']"
+          v-hasPermi="['system:post:create']"
         >
           <Icon icon="ep:plus" class="mr-5px" /> 新增
         </el-button>
@@ -50,7 +50,7 @@
           plain
           @click="handleExport"
           :loading="exportLoading"
-          v-hasPermi="['infra:config:export']"
+          v-hasPermi="['infra:post:export']"
         >
           <Icon icon="ep:download" class="mr-5px" /> 导出
         </el-button>