Browse Source

去掉自动设置标题

shish 4 months ago
parent
commit
dd4f306146
1 changed files with 0 additions and 6 deletions
  1. 0 6
      hdApp/src/mixins/globalMixins.js

+ 0 - 6
hdApp/src/mixins/globalMixins.js

@@ -72,9 +72,6 @@ export default {
 						that.$store.commit('setMyShopInfo', { ...res.data.shop, ...res.data })
 					})
 					that.$store.commit('setLoginInfo', { ...subRes.data.admin, ...subRes.data })
-					getShopInfo(true).then(res => { 
-						uni.setNavigationBarTitle({ title: res.name })
-					})
 					that.setUserShopAll()
 
 					that.init()
@@ -109,9 +106,6 @@ export default {
 							that.$store.commit('setMyShopInfo', { ...res.data.shop, ...res.data })
 						})
 						that.$store.commit('setLoginInfo', { ...subRes.data.admin, ...subRes.data })
-						getShopInfo(true).then(res => { 
-							uni.setNavigationBarTitle({ title: res.name })
-						})
 						that.setUserShopAll()
 						that.init()