|
@@ -97,14 +97,15 @@ export function backLbsHome() {
|
|
|
}
|
|
|
|
|
|
export function toLogin() {
|
|
|
+ const source = uni.getStorageSync('source');
|
|
|
if (window.__wxjs_environment === 'miniprogram') {
|
|
|
wx.miniProgram.redirectTo({
|
|
|
- url: source === 'KIP' ? '/pages/package-login/select?from=parkingFeeWebView' : '/pages/package-parkingFee/parkingFeeWebViewLogin?needLogin=1', // 去 login 页面 1 去登录
|
|
|
+ url: source === 'KIP' ? '/pages/package-login/select?from=parkingFeeWebView' : '/pages/automatic/automaticIndex', // 返回首页, kip 还是回去登录页面
|
|
|
});
|
|
|
}
|
|
|
if (window.isAlipayClient) {
|
|
|
my?.reLaunch({
|
|
|
- url: '/pages/package-parkingFee/parkingFeeWebViewLogin?needLogin=1', // 去 login 页面 1 去登录
|
|
|
+ url: '/pages/automatic/automaticIndex', // 返回首页
|
|
|
});
|
|
|
}
|
|
|
}
|