|
|
@@ -64,7 +64,7 @@ export const deleteByIdF = (params, handleSuccess) => {
|
|
|
* 批量删除用户
|
|
|
* @param params
|
|
|
*/
|
|
|
-export const batchDeleteById = (params, handleSuccess) => {
|
|
|
+export const batchDeleteById = (params, handleSuccess, handleCancel) => {
|
|
|
Modal.confirm({
|
|
|
title: '确认删除',
|
|
|
content: '是否删除选中数据',
|
|
|
@@ -75,6 +75,9 @@ export const batchDeleteById = (params, handleSuccess) => {
|
|
|
handleSuccess();
|
|
|
});
|
|
|
},
|
|
|
+ onCancel: () => {
|
|
|
+ handleCancel?.();
|
|
|
+ },
|
|
|
});
|
|
|
};
|
|
|
/**
|