业绩报表企业微信无法打开问题修改

This commit is contained in:
mengxiaolong
2020-11-30 14:31:16 +08:00
parent a36357f1bf
commit efefc05c4e

View File

@@ -2,7 +2,6 @@ import axios from 'axios'
import AESTools from '@/assets/js/utils/cryptoJsUtil'
import configApp from '@/config'
import { Dialog, Toast } from 'vant'
import dateUtil from '@/assets/js/utils/date-utils'
import MD5 from 'js-md5'
import CacheUtils from '@/assets/js/utils/cacheUtils'
import BusinessCommon from '@/assets/js/business-common'
@@ -86,9 +85,6 @@ let productStore = [
'/customer/shop/getShareList' //查询分享轨迹(转发记录)
]
// 卡单
let cardList = []
// 续期
let renewalManage = [
'/renewal/getRenewalList' //续期列表查询
@@ -142,8 +138,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)