diff --git a/pages/shop/GoodsCon/index.vue b/pages/shop/GoodsCon/index.vue index 6eacf90..b6263de 100644 --- a/pages/shop/GoodsCon/index.vue +++ b/pages/shop/GoodsCon/index.vue @@ -812,6 +812,7 @@ export default { }) }, goRoom() { + console.log(this.systemStore); const params = { goodsId: this.id, goodsName: this.attr.productSelect.store_name, @@ -822,8 +823,9 @@ export default { goodsData: '', seckillData: '' } + const name = this.systemStore && this.systemStore.name || this.storeInfo.merName uni.navigateTo({ - url: `/pkg_common/views/room?id=${this.storeInfo.merId}&name=${this. systemStore.name}¶ms=${JSON.stringify(params)}` + url: `/pkg_common/views/room?id=${this.storeInfo.merId}&name=${name}¶ms=${JSON.stringify(params)}` }) }, goodsDetail(item) {