Commit a1e7e3c7335fee675b25e8a15a079ec20f2d5b52

Authored by 王强
1 parent dd14f73e

搜索App内跳转店铺首页时,后退问题处理~ 直接跳new_mall连接~

Showing 1 changed file with 5 additions and 0 deletions
src/pages/search/search.vue
@@ -660,6 +660,11 @@ @@ -660,6 +660,11 @@
660 */ 660 */
661 toShop(item) { 661 toShop(item) {
662 662
  663 + // 判断在App内
  664 + if (this.isCNLive.value) {
  665 + this.$set(item, 'shop_url', item.shop_url.replace('/html/mall/1/#/pages/main/shopIndex/', '/html/new_mall/1/#/shop/'));
  666 + }
  667 +
663 // 判断并调用通用跳转 668 // 判断并调用通用跳转
664 if (typeof this.$parent.gotoDetail === "function") { 669 if (typeof this.$parent.gotoDetail === "function") {
665 670