APPbug反馈修改

This commit is contained in:
仲么了
2023-08-10 09:18:17 +08:00
parent 192bd44c7a
commit f395da8f93
48 changed files with 1420 additions and 480 deletions

View File

@@ -24,6 +24,7 @@ export default (options = {}) => {
}
uni.request({
url,
timeout: 5000,
data: {
...options.data,
},
@@ -65,6 +66,7 @@ export default (options = {}) => {
* @param {Number} code 错误码
*/
function errHandler(res) {
console.log(res);
switch (res.code) {
case 'A0024':
uni.reLaunch({ url: '/pages/user/login' })