Browse Source

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

pull/6122/head
JEECG 7 months ago
parent
commit
200adb8490
  1. 2
      jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/tree/java/${bussiPackage}/${entityPackage}/vue3/${entityName}List.vuei
  2. 2
      jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/tree/java/${bussiPackage}/${entityPackage}/vue3Native/${entityName}List.vuei

2
jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/tree/java/${bussiPackage}/${entityPackage}/vue3/${entityName}List.vuei

@ -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);
}
/**

2
jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/tree/java/${bussiPackage}/${entityPackage}/vue3Native/${entityName}List.vuei

@ -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