mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-10-15 03:32:11 +08:00
fix: errorHandler 的顺序控制问题'
This commit is contained in:
parent
cf3720320d
commit
9e7999f3c1
@ -102,7 +102,7 @@ function getCustomerHandler(ctx, options = {}) {
|
|||||||
const { dataHandler, errorHandler } = ctx;
|
const { dataHandler, errorHandler } = ctx;
|
||||||
return {
|
return {
|
||||||
dataHandler: options.dataHandler || dataHandler,
|
dataHandler: options.dataHandler || dataHandler,
|
||||||
errorHandler: errorHandler || options.errorHandler,
|
errorHandler: options.errorHandler || errorHandler,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user