mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-06 03:59:53 +08:00
20 lines
420 B
JavaScript
20 lines
420 B
JavaScript
export const request = {
|
|
errorHandler: {
|
|
111() {
|
|
console.log('root:111');
|
|
},
|
|
500() {
|
|
console.log('500 error');
|
|
},
|
|
default(error) {
|
|
console.log('default error', error);
|
|
const msg = error?.data?.msg || error?.msg;
|
|
console.log(msg);
|
|
}
|
|
}
|
|
};
|
|
|
|
export function patchRoutes() {
|
|
console.log('patchRoutes');
|
|
}
|