问题反馈修改
This commit is contained in:
@@ -38,7 +38,9 @@ export default (options = {}) => {
|
||||
success: async (res) => {
|
||||
console.log(res)
|
||||
if (arr.indexOf(options.url) > -1) {
|
||||
arr.splice(arr.indexOf(options.url), 1)
|
||||
setTimeout(() => {
|
||||
arr.splice(arr.indexOf(options.url), 1)
|
||||
}, 300)
|
||||
}
|
||||
if (res.data.resultCode !== 10000 && res.data.code !== 'A0000') {
|
||||
errHandler(res.data)
|
||||
@@ -49,7 +51,9 @@ export default (options = {}) => {
|
||||
},
|
||||
fail: (err) => {
|
||||
if (arr.indexOf(options.url) > -1) {
|
||||
arr.splice(arr.indexOf(options.url), 1)
|
||||
setTimeout(() => {
|
||||
arr.splice(arr.indexOf(options.url), 1)
|
||||
}, 300)
|
||||
}
|
||||
reject(err)
|
||||
uni.showToast({
|
||||
|
||||
Reference in New Issue
Block a user