默认提交
Showing
1 changed file
with
9 additions
and
6 deletions
... | @@ -95,12 +95,15 @@ Page({ | ... | @@ -95,12 +95,15 @@ Page({ |
95 | 95 | ||
96 | onDetailHandler(evt) { | 96 | onDetailHandler(evt) { |
97 | let curItem = getBindtapData(evt); | 97 | let curItem = getBindtapData(evt); |
98 | app.router.push({ | 98 | let videoCode = curItem.videoCode || "" |
99 | path: "detail", | 99 | if (videoCode) { |
100 | query: { | 100 | app.router.push({ |
101 | c: curItem.videoCode || "" | 101 | path: "detail", |
102 | } | 102 | query: { |
103 | }) | 103 | c: curItem.videoCode || "" |
104 | } | ||
105 | }) | ||
106 | } | ||
104 | }, | 107 | }, |
105 | 108 | ||
106 | /** | 109 | /** | ... | ... |
-
Please register or sign in to post a comment