Jelajahi Sumber

feat:新生添加禁用

DESKTOP-USV654P\pc 4 bulan lalu
induk
melakukan
2f4b32666d
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      src/views/educational/basicInformation/index.vue

+ 2 - 0
src/views/educational/basicInformation/index.vue

@@ -137,11 +137,13 @@
             :actions="[
               {
                 label: '编辑',
+                disabled: record.status === 1,
                 onClick: handleEdit.bind(null, record, true),
               },
               {
                 label: '删除',
                 color: 'error',
+                disabled: record.status === 1,
                 onClick: handleDelete.bind(null, record),
               },
             ]"