@@ -55,7 +55,7 @@ export const $http = (url, method, data, json, loadingBool = false, isExecute =
return res
}
if (whiteCodes.indexOf(res.code) < 0) {
- if (res.message == 'USERPAYING') {
+ if (~res.message.indexOf('USERPAYING')) {
return Promise.reject(new Error(res.message || 'Error'))
if (res.code === 1001) {