consumer模块完成95%,在和商家端对接聊天购物闭环
This commit is contained in:
@@ -233,11 +233,11 @@ export class AkReq {
|
||||
// 动态读取配置,避免 ak-req 模块与业务工程强耦合
|
||||
const cfg = require('@/ak/config.uts') as any
|
||||
const isTest = cfg != null ? (cfg.IS_TEST_MODE === true) : false
|
||||
if (!isTest) {
|
||||
uni.reLaunch({ url: '/pages/user/login' });
|
||||
}
|
||||
// if (!isTest) {
|
||||
// uni.reLaunch({ url: '/pages/user/login' });
|
||||
// }
|
||||
} catch (e) {
|
||||
try { uni.reLaunch({ url: '/pages/user/login' }); } catch (e2) {}
|
||||
// try { uni.reLaunch({ url: '/pages/user/login' }); } catch (e2) {}
|
||||
}
|
||||
}
|
||||
return finalRes;
|
||||
|
||||
Reference in New Issue
Block a user