tangning 2 tahun lalu
induk
melakukan
207f13fb2e
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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,
         },
       ];