gemercheung 1 rok temu
rodzic
commit
370e6376f3
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/view/users.vue

+ 1 - 1
src/view/users.vue

@@ -45,7 +45,7 @@
             <el-button link type="primary" @click="editHandler(row)" size="small">
               编辑
             </el-button>
-            <el-button link type="danger" @click="delHandler(row)" size="small" v-if="isSuper && !isMe(row.userId)">
+            <el-button link type="danger" @click="delHandler(row)" size="small" v-if="!isMe(row.userId)">
               删除
             </el-button>
           </template>