Browse Source

fix: 🐞 fix sensitiveWord hasPermi value

AhJindeg 10 tháng trước cách đây
mục cha
commit
ac6618a943
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/views/system/sensitiveWord/index.vue

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

@@ -119,7 +119,7 @@
       <el-table-column align="center" label="操作">
         <template #default="scope">
           <el-button
-            v-hasPermi="['infra:config:update']"
+            v-hasPermi="['infra:sensitive-word:update']"
             link
             type="primary"
             @click="openForm('update', scope.row.id)"
@@ -127,7 +127,7 @@
             编辑
           </el-button>
           <el-button
-            v-hasPermi="['infra:config:delete']"
+            v-hasPermi="['infra:sensitive-word:delete']"
             link
             type="danger"
             @click="handleDelete(scope.row.id)"