|
@@ -508,10 +508,6 @@ export default {
|
|
|
showShopName(){
|
|
showShopName(){
|
|
|
currentShop().then(res => {
|
|
currentShop().then(res => {
|
|
|
if(res.code == 1){
|
|
if(res.code == 1){
|
|
|
- let sjName = res.data.merchantName ? res.data.merchantName : ''
|
|
|
|
|
- let shopName = res.data.shopName ? res.data.shopName : ''
|
|
|
|
|
- let title = shopName == '首店' ? sjName : sjName+' '+shopName
|
|
|
|
|
- uni.setNavigationBarTitle({ title: title })
|
|
|
|
|
this.shopInfo = res.data?res.data:[]
|
|
this.shopInfo = res.data?res.data:[]
|
|
|
if(this.shopInfo.avatar) {
|
|
if(this.shopInfo.avatar) {
|
|
|
uni.setStorageSync('shopAvatar', this.shopInfo.avatar);
|
|
uni.setStorageSync('shopAvatar', this.shopInfo.avatar);
|