mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-10-14 19:22:13 +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;
|
||||
return {
|
||||
dataHandler: options.dataHandler || dataHandler,
|
||||
errorHandler: errorHandler || options.errorHandler,
|
||||
errorHandler: options.errorHandler || errorHandler,
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user