mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-19 23:06:44 +08:00
Merge branch 'hotfix/数据报表在企业微信无法打开问题' into dev
# Conflicts: # src/assets/js/utils/request.js
This commit is contained in:
@@ -149,8 +149,8 @@ service.interceptors.request.use(
|
||||
if (!token) {
|
||||
// 设备类型
|
||||
const target = BusinessCommon.device()
|
||||
// 安卓or苹果
|
||||
if (target.isAndroid || target.isIphone) {
|
||||
// 安卓or苹果(非浏览器)
|
||||
if (!target.isWeixin && !target.isChrome) {
|
||||
// eslint-disable-next-line no-undef
|
||||
const res = await EWebBridge.webCallAppInJs('getToken')
|
||||
CacheUtils.setLocItem('token', JSON.parse(res).token)
|
||||
|
||||
Reference in New Issue
Block a user