Commit 763bb9810dcb7d661cf50ef08e9ae844c237a706
1 parent
a5c2e0cf
优选库——搜索——跳转达人不能关注Bug处理,跳转时添加了uid
Showing
2 changed files
with
2 additions
and
2 deletions
src/main.js
| @@ -50,7 +50,7 @@ import 'url-search-params-polyfill'; | @@ -50,7 +50,7 @@ import 'url-search-params-polyfill'; | ||
| 50 | Vue.config.productionTip = false; | 50 | Vue.config.productionTip = false; |
| 51 | 51 | ||
| 52 | // 部署模式设置(开发模式:"dev",测试模式:"test",生产模式:"prod") | 52 | // 部署模式设置(开发模式:"dev",测试模式:"test",生产模式:"prod") |
| 53 | -Vue.prototype.mode = "prod"; | 53 | +Vue.prototype.mode = "dev"; |
| 54 | 54 | ||
| 55 | // 微信JS-SDK对象 | 55 | // 微信JS-SDK对象 |
| 56 | Vue.prototype.jweixin = { | 56 | Vue.prototype.jweixin = { |
src/pages/search/search.vue
| @@ -683,7 +683,7 @@ | @@ -683,7 +683,7 @@ | ||
| 683 | 683 | ||
| 684 | // 全部跳转H5达人相关页面,达人个人主页连接 | 684 | // 全部跳转H5达人相关页面,达人个人主页连接 |
| 685 | if (item.id) { | 685 | if (item.id) { |
| 686 | - window.location.href = (this.mode == "prod") ? "https://managemall.cnlive.com/html/preferred-library/1/#/pages/darenProfile/darenProfile?id=" + item.id + "&from=redirect" : "https://wjjshop.cnlive.com/html/preferred-library/1/#/pages/darenProfile/darenProfile?id=" + item.id + "&from=redirect"; | 686 | + window.location.href = (this.mode == "prod") ? "https://managemall.cnlive.com/html/preferred-library/1/#/pages/darenProfile/darenProfile?id=" + item.id + "&from=redirect" + (this.getStore("uid") ? "&uid=" + this.getStore("uid") : "") : "https://wjjshop.cnlive.com/html/preferred-library/1/#/pages/darenProfile/darenProfile?id=" + item.id + "&from=redirect" + (this.getStore("uid") ? "&uid=" + this.getStore("uid") : ""); |
| 687 | } | 687 | } |
| 688 | 688 | ||
| 689 | // // 判断并调用通用跳转 | 689 | // // 判断并调用通用跳转 |