zhengnaiwen_citu 7 ماه پیش
والد
کامیت
4ccefade60
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      src/views/system/role/index.vue

+ 3 - 3
src/views/system/role/index.vue

@@ -20,10 +20,10 @@
         {{ dateFormat(scope.row.createTime) }}
       </template>
       <template #actions="scope">
-        <m-button class="pa-0" v-permission="['systemManage:roleManage:edit']" type="primary" text @click="onEdit(scope.row)">编辑</m-button>
+        <m-button class="pa-0" v-permission="['system:role:edit']" type="primary" text @click="onEdit(scope.row)">编辑</m-button>
         <m-button class="pa-0" type="primary" text @click="onMenu(scope.row)">菜单权限</m-button>
-        <m-button class="pa-0" v-permission="['systemManage:roleManage:data']" type="primary" text @click="onPermission(scope.row)">数据权限</m-button>
-        <m-button class="pa-0" v-permission="['systemManage:roleManage:delete']" type="danger" text @click="onDelete(scope.row)">删除</m-button>
+        <m-button class="pa-0" v-permission="['system:role:data']" type="primary" text @click="onPermission(scope.row)">数据权限</m-button>
+        <m-button class="pa-0" v-permission="['system:role:delete']" type="danger" text @click="onDelete(scope.row)">删除</m-button>
       </template>
     </MTable>
     <MDialog ref="dialog" :title="itemData.id ? '编辑角色' : '新增角色'" @sure="handleSave">