Explorar el Código

feat:新生添加禁用

DESKTOP-USV654P\pc hace 4 meses
padre
commit
2f4b32666d
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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),
               },
             ]"