Browse Source

fix: 超管不存在授权

wanggaokun 3 weeks ago
parent
commit
b94ffc6f51
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/system/role/index.vue

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

@@ -11,7 +11,7 @@
         <div class="operation-group">
           <el-button type="primary" link icon="EditPen" @click="openDrawer('编辑', row)"> 编辑 </el-button>
           <el-button v-if="row.isLock !== '1'" type="primary" link icon="Delete" @click="deleteRow(row)"> 删除 </el-button>
-          <div class="group">
+          <div class="group" v-if="row.isLock !== '1'">
             <el-dropdown trigger="click">
               <el-button type="primary" link icon="DArrowRight"> 授权 </el-button>
               <template #dropdown>