Parcourir la source

fix 修复 角色删除按钮权限标识符不正确问题

疯狂的狮子Li il y a 6 mois
Parent
commit
32ee077f1a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/views/system/role/index.vue

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

@@ -46,7 +46,7 @@
             <el-button v-hasPermi="['system:role:edit']" type="success" plain :disabled="single" icon="Edit" @click="handleUpdate()">修改</el-button>
           </el-col>
           <el-col :span="1.5">
-            <el-button v-hasPermi="['system:role:delete']" type="danger" plain :disabled="ids.length === 0" @click="handleDelete()">删除</el-button>
+            <el-button v-hasPermi="['system:role:remove']" type="danger" plain :disabled="ids.length === 0" @click="handleDelete()">删除</el-button>
           </el-col>
           <el-col :span="1.5">
             <el-button v-hasPermi="['system:role:export']" type="warning" plain icon="Download" @click="handleExport">导出</el-button>