This commit is contained in:
2026-08-11 15:03:02 +08:00
parent c97304b786
commit fb8f52fe76
40 changed files with 376 additions and 787 deletions
-3
View File
@@ -2,9 +2,6 @@ import { ElMessage } from 'element-plus';
import { useAsyncAction } from '@/composables/actions/useAsyncAction';
export const isActionCancelled = (error) => {
if (error === null || error === undefined) {
return false;
}
if (typeof error === 'string') {
return error === 'cancel' || error === 'close';
}