Skip to content
This repository was archived by the owner on Jul 30, 2020. It is now read-only.

Commit 3762d0a

Browse files
committed
通知点击详情跳转修复
1 parent 2ecf8a3 commit 3762d0a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ API来自于[cnode社区](https://cnodejs.org/api)
1212

1313
线上版本更新日志
1414

15-
v0.0.2 帖子评论框修复
15+
v0.0.2 帖子评论框修复、通知点击详情跳转修复
1616

1717
## 预览流程
1818

src/pages/notice/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ export default {
8383
this.getData();
8484
},
8585
goDetail(e) {
86-
wx.setStorageSync("topicid",e.target.dataset.topicid);
86+
// wx.setStorageSync("topicid",e.target.dataset.topicid);
8787
wx.navigateTo({
88-
url: "../detail/main"
88+
url: `../detail/main?topicid=${e.target.dataset.topicid}`
8989
});
9090
},
9191
changeTab(e) {

0 commit comments

Comments
 (0)