王士厅

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

... ... @@ -127,7 +127,7 @@ export interface postExecuteLikeParams {
title?: string;
contentRelId?: string;
userHeaderUrl?: string;
channelId?: string;
channelId?: string | number;
}
export interface postExecuteCollectRecordParamsItem {
... ...
... ... @@ -75,13 +75,13 @@ export struct PlayerRightView {
return
}
const params: postExecuteLikeParams = {
status: this.newsStatusOfUser?.likeStatus === '1' ? 0 : 1,
status: this.newsStatusOfUser?.likeStatus == '1' ? 0 : 1,
contentId: this.contentDetailData?.newsId + '',
contentType: this.contentDetailData?.newsType + '',
userName: this.contentDetailData?.userInfo?.userName || '' + '',
contentRelId: this.contentDetailData?.reLInfo?.relId || '' + '',
title: this.contentDetailData?.newsTitle || '' + '',
channelId: this.contentDetailData?.reLInfo?.channelId + '',
channelId: this.contentDetailData?.reLInfo?.channelId || '' + '',
relType: this.contentDetailData?.reLInfo?.relType || '' + '',
userHeaderUrl: this.contentDetailData?.userInfo?.headPhotoUrl || '' + '',
}
... ...