mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-15 03:36:43 +08:00
业绩报表企业微信无法打开问题修改
This commit is contained in:
@@ -2,7 +2,6 @@ import axios from 'axios'
|
|||||||
import AESTools from '@/assets/js/utils/cryptoJsUtil'
|
import AESTools from '@/assets/js/utils/cryptoJsUtil'
|
||||||
import configApp from '@/config'
|
import configApp from '@/config'
|
||||||
import { Dialog, Toast } from 'vant'
|
import { Dialog, Toast } from 'vant'
|
||||||
import dateUtil from '@/assets/js/utils/date-utils'
|
|
||||||
import MD5 from 'js-md5'
|
import MD5 from 'js-md5'
|
||||||
import CacheUtils from '@/assets/js/utils/cacheUtils'
|
import CacheUtils from '@/assets/js/utils/cacheUtils'
|
||||||
import BusinessCommon from '@/assets/js/business-common'
|
import BusinessCommon from '@/assets/js/business-common'
|
||||||
@@ -86,9 +85,6 @@ let productStore = [
|
|||||||
'/customer/shop/getShareList' //查询分享轨迹(转发记录)
|
'/customer/shop/getShareList' //查询分享轨迹(转发记录)
|
||||||
]
|
]
|
||||||
|
|
||||||
// 卡单
|
|
||||||
let cardList = []
|
|
||||||
|
|
||||||
// 续期
|
// 续期
|
||||||
let renewalManage = [
|
let renewalManage = [
|
||||||
'/renewal/getRenewalList' //续期列表查询
|
'/renewal/getRenewalList' //续期列表查询
|
||||||
@@ -142,8 +138,8 @@ service.interceptors.request.use(
|
|||||||
if (!token) {
|
if (!token) {
|
||||||
// 设备类型
|
// 设备类型
|
||||||
const target = BusinessCommon.device()
|
const target = BusinessCommon.device()
|
||||||
// 安卓or苹果
|
// 安卓or苹果(非浏览器)
|
||||||
if (target.isAndroid || target.isIphone) {
|
if (!target.isWeixin && !target.isChrome) {
|
||||||
// eslint-disable-next-line no-undef
|
// eslint-disable-next-line no-undef
|
||||||
const res = await EWebBridge.webCallAppInJs('getToken')
|
const res = await EWebBridge.webCallAppInJs('getToken')
|
||||||
CacheUtils.setLocItem('token', JSON.parse(res).token)
|
CacheUtils.setLocItem('token', JSON.parse(res).token)
|
||||||
|
|||||||
Reference in New Issue
Block a user