使用代码生成器生成树的结构,批量删除时报错,在很老的jeecg,vue2版本就在报错了 #6043

pull/6122/head
JEECG 8 months ago
parent 7b06715bff
commit 200adb8490

@ -217,7 +217,7 @@
* 批量删除事件
*/
async function batchHandleDelete() {
const ids = selectedRowKeys.value.filter(item => !item.includes('loading'))
const ids = selectedRowKeys.value.filter(item => !item.includes('loadChild'))
await batchDelete${entityName}({id: ids}, importSuccess);
}
/**

@ -261,7 +261,7 @@
* 批量删除事件
*/
async function batchHandleDelete() {
const ids = selectedRowKeys.value.filter((item) => !item.includes('loading'));
const ids = selectedRowKeys.value.filter((item) => !item.includes('loadChild'));
await batchDelete${entityName}({ id: ids }, success);
}

Loading…
Cancel
Save