shish 6 лет назад
Родитель
Сommit
5316f10aec
2 измененных файлов с 3 добавлено и 3 удалено
  1. 1 1
      mall/src/config.js
  2. 2 2
      mall/src/mixins/globalMixins.js

+ 1 - 1
mall/src/config.js

@@ -1,2 +1,2 @@
 // 项目配置--由bat脚本自动变更
-export const ProjectName = 'mobile'
+export const ProjectName = 'mall'

+ 2 - 2
mall/src/mixins/globalMixins.js

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