张善主

fix(18961): 必修--时间轴专题下含有不支持的音频节目未能给出对应提示信息

... ... @@ -423,20 +423,22 @@ export class ProcessUtils {
Logger.debug(TAG, `gotoLive, ${content.objectId}`);
}
//音频详情页
public static gotoAudio(content: ContentDTO) {
let taskAction: Action = {
type: 'JUMP_DETAIL_PAGE',
params: {
detailPageType: 13,
contentID: content?.objectId,
extra: {
relType: content?.relType,
relId: content?.relId,
} as ExtraDTO,
targetLayout: content.customParamTargetLayout
} as Params,
};
WDRouterRule.jumpWithAction(taskAction)
ToastUtils.shortToast('该音频类型暂不支持')
// let taskAction: Action = {
// type: 'JUMP_DETAIL_PAGE',
// params: {
// detailPageType: 13,
// contentID: content?.objectId,
// extra: {
// relType: content?.relType,
// relId: content?.relId,
// } as ExtraDTO,
// targetLayout: content.customParamTargetLayout
// } as Params,
// };
// WDRouterRule.jumpWithAction(taskAction)
Logger.debug(TAG, `gotoAudio, ${content.objectId}`);
}
... ...