review:【ANTD】批量删除代码
This commit is contained in:
@@ -77,6 +77,8 @@ async function onDeleteBatch() {
|
||||
}
|
||||
}
|
||||
|
||||
// TODO @puhui999:方法名,改成 handleRowCheckboxChange;注释:处理选中表格行
|
||||
// TODO @puhui999:deleteIds => checkedIds;然后注释去掉?
|
||||
const deleteIds = ref<number[]>([]); // 待删除示例联系人 ID
|
||||
function setDeleteIds({
|
||||
records,
|
||||
|
||||
@@ -199,7 +199,6 @@ export function useDemo03CourseGridEditColumns(
|
||||
minWidth: 60,
|
||||
align: 'center',
|
||||
fixed: 'right',
|
||||
|
||||
showOverflow: false,
|
||||
cellRender: {
|
||||
attrs: {
|
||||
|
||||
@@ -198,7 +198,6 @@ export function useDemo03CourseGridEditColumns(
|
||||
minWidth: 60,
|
||||
align: 'center',
|
||||
fixed: 'right',
|
||||
|
||||
showOverflow: false,
|
||||
cellRender: {
|
||||
attrs: {
|
||||
|
||||
Reference in New Issue
Block a user