|
@@ -378,12 +378,12 @@ export function setToken() {
|
|
|
// 如果用户的 vipcode 或者 userid 不存在提示用户返回首页重新进入
|
|
|
export function backLbsHome() {
|
|
|
const { theme } = getsTheCurrentTopic();
|
|
|
+ const source = uni.getStorageSync('source')
|
|
|
const dialog = Dialog.alert({
|
|
|
title: '温馨提示',
|
|
|
message: source === 'KIP' ? '当前网络异常,请返回首页重试' : '登录异常,请重新登录',
|
|
|
confirmButtonColor: kipTheme[theme].primaryColor,
|
|
|
beforeClose: async (action, done) => {
|
|
|
- const source = uni.getStorageSync('source')
|
|
|
try {
|
|
|
if(window?.__wxjs_environment === 'miniprogram') {
|
|
|
wx?.miniProgram?.reLaunch({
|