Showing
1 changed file
with
16 additions
and
1 deletions
| @@ -101,8 +101,23 @@ export class AppInnerLink { | @@ -101,8 +101,23 @@ export class AppInnerLink { | ||
| 101 | return | 101 | return |
| 102 | } | 102 | } |
| 103 | 103 | ||
| 104 | - if (params.type == "topic") { | 104 | + if (params.type == "topic" && params.subType == "h5") { |
| 105 | 105 | ||
| 106 | + let taskAction: Action = { | ||
| 107 | + type: 'JUMP_INNER_NEW_PAGE', | ||
| 108 | + params: { | ||
| 109 | + contentID: params.pageId, | ||
| 110 | + url: params.url, | ||
| 111 | + pageID: 'SPACIAL_TOPIC_PAGE', | ||
| 112 | + backVisibility: true, | ||
| 113 | + extra: { | ||
| 114 | + relType: params.relType, | ||
| 115 | + relId: params.relId, | ||
| 116 | + pageId: params.pageId | ||
| 117 | + } as ExtraDTO, | ||
| 118 | + } as Params, | ||
| 119 | + }; | ||
| 120 | + WDRouterRule.jumpWithAction(taskAction) | ||
| 106 | } | 121 | } |
| 107 | 122 | ||
| 108 | if (params.type == "channel") { | 123 | if (params.type == "channel") { |
-
Please register or login to post a comment