daijian_wd

fix: 解决收藏bug2

import { ToastUtils, Logger, NumberFormatterUtils, SPHelper } from 'wdKit';
import promptAction from '@ohos.promptAction';
import {
InputMethodProperty,
batchLikeAndCollectResult,
... ... @@ -272,6 +273,9 @@ export struct OperRowListView {
PageRepository.postExecuteCollectRecord(params).then(res => {
if (this.newsStatusOfUser) {
this.newsStatusOfUser.collectStatus = this.newsStatusOfUser?.collectStatus === 1 ? 0 : 1
if(this.newsStatusOfUser.collectStatus === 1){
promptAction.showToast({ message: '收藏成功' })
}
this.queryContentInteractCount()
}
})
... ...