瀏覽代碼

feat:新生添加禁用

DESKTOP-USV654P\pc 4 月之前
父節點
當前提交
2f4b32666d
共有 1 個文件被更改,包括 2 次插入0 次删除
  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),
               },
             ]"