Commit 14ccdf6bd5edecc507ca542f6f5019fab800ad87

Authored by zhiyangdu
1 parent 8a742ac4

还原已关注达人列表页跳转

Showing 1 changed file with 3 additions and 14 deletions
src/pages/newDaren/newDaren.vue
... ... @@ -367,20 +367,9 @@ export default {
367 367  
368 368 // 判断是否有通用跳转函数
369 369 if (typeof this.$parent.gotoDetail === "function") {
370   - // 判断并调用通用跳转
371   - if (typeof this.$parent.gotoDetail === "function") {
372   - // 临时,设置跳转达人个人主页用户数据
373   - Object.assign(item, {
374   - type: "5",
375   - to: (this.mode == "prod") ?
376   - "https://managemall.cnlive.com/html/preferred-library/1/#/pages/darenProfile/darenProfile?from=redirect" + "&id=" + item.user_id + "&uid=" + this.getStore("uid") :
377   - "https://wjjshop.cnlive.com/html/preferred-library/1/#/pages/darenProfile/darenProfile?from=redirect" + "&id=" + item.user_id + "&uid=" + this.getStore("uid"),
378   - shop_type: ""
379   - });
380   -
381   - // 调用通用跳转
382   - this.$parent.gotoDetail(item);
383   - }
  370 +
  371 + // 调用通用跳转
  372 + this.$parent.gotoDetail(item);
384 373 }
385 374 },
386 375  
... ...