王士厅

UI还原问题-【uat】进入号主页》视频,进入视频详情页,点击取消收藏按钮,返回,再进入,收藏按钮还是选中状态,预期不选中

@@ -127,7 +127,7 @@ export interface postExecuteLikeParams { @@ -127,7 +127,7 @@ export interface postExecuteLikeParams {
127 title?: string; 127 title?: string;
128 contentRelId?: string; 128 contentRelId?: string;
129 userHeaderUrl?: string; 129 userHeaderUrl?: string;
130 - channelId?: string; 130 + channelId?: string | number;
131 } 131 }
132 132
133 export interface postExecuteCollectRecordParamsItem { 133 export interface postExecuteCollectRecordParamsItem {
@@ -75,13 +75,13 @@ export struct PlayerRightView { @@ -75,13 +75,13 @@ export struct PlayerRightView {
75 return 75 return
76 } 76 }
77 const params: postExecuteLikeParams = { 77 const params: postExecuteLikeParams = {
78 - status: this.newsStatusOfUser?.likeStatus === '1' ? 0 : 1, 78 + status: this.newsStatusOfUser?.likeStatus == '1' ? 0 : 1,
79 contentId: this.contentDetailData?.newsId + '', 79 contentId: this.contentDetailData?.newsId + '',
80 contentType: this.contentDetailData?.newsType + '', 80 contentType: this.contentDetailData?.newsType + '',
81 userName: this.contentDetailData?.userInfo?.userName || '' + '', 81 userName: this.contentDetailData?.userInfo?.userName || '' + '',
82 contentRelId: this.contentDetailData?.reLInfo?.relId || '' + '', 82 contentRelId: this.contentDetailData?.reLInfo?.relId || '' + '',
83 title: this.contentDetailData?.newsTitle || '' + '', 83 title: this.contentDetailData?.newsTitle || '' + '',
84 - channelId: this.contentDetailData?.reLInfo?.channelId + '', 84 + channelId: this.contentDetailData?.reLInfo?.channelId || '' + '',
85 relType: this.contentDetailData?.reLInfo?.relType || '' + '', 85 relType: this.contentDetailData?.reLInfo?.relType || '' + '',
86 userHeaderUrl: this.contentDetailData?.userInfo?.headPhotoUrl || '' + '', 86 userHeaderUrl: this.contentDetailData?.userInfo?.headPhotoUrl || '' + '',
87 } 87 }