|
@@ -224,12 +224,10 @@ export default {
|
|
|
uni.stopPullDownRefresh();
|
|
uni.stopPullDownRefresh();
|
|
|
},
|
|
},
|
|
|
onShow() {
|
|
onShow() {
|
|
|
- this.getShopInfo()
|
|
|
|
|
-
|
|
|
|
|
|
|
+ this.getShopTitle()
|
|
|
if(!this.$util.isEmpty(this.loginInfo.admin) && this.loginInfo.admin.currentGhsShopId > 0){
|
|
if(!this.$util.isEmpty(this.loginInfo.admin) && this.loginInfo.admin.currentGhsShopId > 0){
|
|
|
this.loginStyle = 1
|
|
this.loginStyle = 1
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
...mapActions(['setUserShopAll']),
|
|
...mapActions(['setUserShopAll']),
|
|
@@ -251,7 +249,7 @@ export default {
|
|
|
that.$msg("请用微信打开")
|
|
that.$msg("请用微信打开")
|
|
|
// #endif
|
|
// #endif
|
|
|
},
|
|
},
|
|
|
- getShopInfo(){
|
|
|
|
|
|
|
+ getShopTitle(){
|
|
|
getShopInfo().then(res => {
|
|
getShopInfo().then(res => {
|
|
|
if(res.name){
|
|
if(res.name){
|
|
|
uni.setNavigationBarTitle({ title: res.name })
|
|
uni.setNavigationBarTitle({ title: res.name })
|