|
|
@@ -153,7 +153,7 @@ export default {
|
|
|
that.$store.commit('setMyShopInfo', { ...res.data.shop, ...res.data })
|
|
|
})
|
|
|
that.$store.commit('setLoginInfo', { ...subRes.data.admin, ...subRes.data })
|
|
|
- getUser(true).then(res => { uni.setNavigationBarTitle({ title: res.name }) })
|
|
|
+ getShopInfo(true).then(res => { uni.setNavigationBarTitle({ title: res.name }) })
|
|
|
that.setUserShopAll()
|
|
|
// #ifdef APP-PLUS
|
|
|
//保存安卓的clientId
|
|
|
@@ -224,7 +224,7 @@ export default {
|
|
|
that.$store.commit('setMyShopInfo', { ...res.data.shop, ...res.data })
|
|
|
})
|
|
|
that.$store.commit('setLoginInfo', { ...subRes.data.admin, ...subRes.data })
|
|
|
- getUser(true).then(res => { uni.setNavigationBarTitle({ title: res.name }) })
|
|
|
+ getShopInfo(true).then(res => { uni.setNavigationBarTitle({ title: res.name }) })
|
|
|
that.setUserShopAll()
|
|
|
// #ifdef APP-PLUS
|
|
|
//保存安卓的clientId
|
|
|
@@ -302,7 +302,7 @@ export default {
|
|
|
that.$store.commit('setMyShopInfo', { ...res.data.shop, ...res.data })
|
|
|
})
|
|
|
that.$store.commit('setLoginInfo', { ...subRes.data.admin, ...subRes.data })
|
|
|
- getUser(true).then(res => { uni.setNavigationBarTitle({ title: res.name }) })
|
|
|
+ getShopInfo(true).then(res => { uni.setNavigationBarTitle({ title: res.name }) })
|
|
|
that.setUserShopAll()
|
|
|
// #ifdef APP-PLUS
|
|
|
//保存安卓的clientId
|