YangYuGang
2025-03-11 bfdfeb40c7ba97511584a30477acf5ad801398ba
src/views/demo/table/EditRowTable.vue
@@ -282,6 +282,7 @@
          label: '编辑',
          disabled: currentEditKeyRef.value ? currentEditKeyRef.value !== record.key : false,
          onClick: handleEdit.bind(null, record),
          name: ''
        },
      ];
    }
@@ -289,6 +290,7 @@
      {
        label: '保存',
        onClick: handleSave.bind(null, record),
        name: ''
      },
      {
        label: '取消',
@@ -296,6 +298,7 @@
          title: '是否取消编辑',
          confirm: handleCancel.bind(null, record),
        },
        name: ''
      },
    ];
  }