问题反馈修改

This commit is contained in:
仲么了
2023-08-29 16:14:09 +08:00
parent 7c79eddc05
commit 38b827af46
23 changed files with 330 additions and 144 deletions

View File

@@ -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({