|
@@ -27,14 +27,14 @@ export default {
|
|
|
if (option.account) {
|
|
if (option.account) {
|
|
|
uni.setStorageSync('account', option.account)
|
|
uni.setStorageSync('account', option.account)
|
|
|
}
|
|
}
|
|
|
- if (constant.source == 'mobile') {
|
|
|
|
|
|
|
+ if (constant.source == 'mall') {
|
|
|
if (option.shopId) {
|
|
if (option.shopId) {
|
|
|
uni.setStorageSync('shopId', option.shopId)
|
|
uni.setStorageSync('shopId', option.shopId)
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
uni.setStorageSync('currentQuery', JSON.stringify(option))
|
|
uni.setStorageSync('currentQuery', JSON.stringify(option))
|
|
|
// 登录
|
|
// 登录
|
|
|
- if (constant.source == 'business' || constant.source == 'mobile') {
|
|
|
|
|
|
|
+ if (constant.source == 'business' || constant.source == 'mall') {
|
|
|
if (isLogin()) {
|
|
if (isLogin()) {
|
|
|
// #ifdef H5
|
|
// #ifdef H5
|
|
|
if (this.init) {
|
|
if (this.init) {
|