Jelajahi Sumber

SYSTEM:修复【系统管理/岗位管理/新增按钮与导出按钮】权限hasPermi错误

sunva 1 tahun lalu
induk
melakukan
68e1556378
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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>