tangning %!s(int64=2) %!d(string=hai) anos
pai
achega
207f13fb2e
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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,
         },
       ];