优化:商户列表 页面标题优化,根据获取的商户类型显示不同的页面标题
This commit is contained in:
parent
d04cfffa98
commit
5030fb0b12
|
|
@ -289,8 +289,9 @@
|
|||
// 获取类型
|
||||
let merchantType = options.merchant_type || 0;
|
||||
this.sotreParam.merchant_type = merchantType
|
||||
let pageTitle = this.$util.getMerchantTypeText(merchantType);
|
||||
uni.setNavigationBarTitle({
|
||||
title: merchantType == 0 ? '附近商家' : (merchantType == 1 ? '附近酒道馆' : '合作企业')
|
||||
title: merchantType == 2 ? '合作企业' : '附近' + pageTitle
|
||||
})
|
||||
this.storeList = [];
|
||||
if(this.mer_location)this.selfLocation()
|
||||
|
|
|
|||
Loading…
Reference in New Issue