Browse Source

bug 修复

lilei 2 years ago
parent
commit
93ee830387
2 changed files with 3 additions and 3 deletions
  1. 1 1
      App.vue
  2. 2 2
      pages/shelfSetting/shelfSet.vue

+ 1 - 1
App.vue

@@ -5,7 +5,7 @@
 			token: '',
 			changeOrg:'',
 			version: '', // 当前版本号
-			buildType: 'dev', // 打包环境对应类型,pro 生产 uat 预发布 dev 本地开发
+			buildType: 'uat', // 打包环境对应类型,pro 生产 uat 预发布 dev 本地开发
 			envTips: '', // 环境文字提示
 			theme: 'default', // 主题,default
 			isIphoneXup: false //是否iphonex以及以上的版本

+ 2 - 2
pages/shelfSetting/shelfSet.vue

@@ -297,8 +297,8 @@
 					for(let a in res.data){
 						this.placeTab.push(a)
 					}
-					if(!flag || this.placeTab.length==1){
-					  this.curTab = this.placeTab[0]
+					if(!flag || !this.curTab){
+						this.curTab = this.placeTab[0]
 					}
 					if(this.placeTab.length == 0){
 						this.shelfPlaceList = null