mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-12 10:16:43 +08:00
【GFRS-3645】生成电子合同接口对接 接口封装的token拦截方法修改
This commit is contained in:
@@ -220,7 +220,7 @@ service.interceptors.request.use(
|
||||
let isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //判断是否是 android终端
|
||||
if (isAndroid) {
|
||||
// setTimeout(() => {
|
||||
if (window.location.hash !== '#/my/privacyPolicy') {
|
||||
if (window.location.hash !== '#/my/privacyPolicy' && window.location.hash !== '#/YB_agentSign/step1' && window.location.hash !== '#/YB_agentSign/step2') {
|
||||
console.log(window.Android.getToken(), 'Android获取token')
|
||||
CacheUtils.setLocItem('token', window.Android.getToken())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user