张善主

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

@@ -423,20 +423,22 @@ export class ProcessUtils { @@ -423,20 +423,22 @@ export class ProcessUtils {
423 Logger.debug(TAG, `gotoLive, ${content.objectId}`); 423 Logger.debug(TAG, `gotoLive, ${content.objectId}`);
424 } 424 }
425 425
  426 + //音频详情页
426 public static gotoAudio(content: ContentDTO) { 427 public static gotoAudio(content: ContentDTO) {
427 - let taskAction: Action = {  
428 - type: 'JUMP_DETAIL_PAGE',  
429 - params: {  
430 - detailPageType: 13,  
431 - contentID: content?.objectId,  
432 - extra: {  
433 - relType: content?.relType,  
434 - relId: content?.relId,  
435 - } as ExtraDTO,  
436 - targetLayout: content.customParamTargetLayout  
437 - } as Params,  
438 - };  
439 - WDRouterRule.jumpWithAction(taskAction) 428 + ToastUtils.shortToast('该音频类型暂不支持')
  429 + // let taskAction: Action = {
  430 + // type: 'JUMP_DETAIL_PAGE',
  431 + // params: {
  432 + // detailPageType: 13,
  433 + // contentID: content?.objectId,
  434 + // extra: {
  435 + // relType: content?.relType,
  436 + // relId: content?.relId,
  437 + // } as ExtraDTO,
  438 + // targetLayout: content.customParamTargetLayout
  439 + // } as Params,
  440 + // };
  441 + // WDRouterRule.jumpWithAction(taskAction)
440 Logger.debug(TAG, `gotoAudio, ${content.objectId}`); 442 Logger.debug(TAG, `gotoAudio, ${content.objectId}`);
441 } 443 }
442 444