tangning 2 年之前
父節點
當前提交
207f13fb2e
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/lanUser/list.vue

+ 2 - 2
src/views/lanUser/list.vue

@@ -20,7 +20,7 @@
       </template>
       <!-- , -->
       <template #action="{ record }">
-        <TableAction
+        <TableAction v-if="record.roleId != 1"
           :actions="[
             {
               color: 'warning',
@@ -171,7 +171,7 @@
           // ifShow: !getCheckRole('tourist'),
           slots: { customRender: 'action' },
           fixed: 'right',
-          width: 100,
+          width: 150,
         },
       ];