yangchenggong1_wd

fix |> 17397 【疑难】号主页-关注列表_我的,取消关注、后方数据上移动态效果与安卓不一致

... ... @@ -34,7 +34,9 @@ export struct FollowListDetailUI {
if (arr[1] == "0") {
this.data.getDataArray().forEach((element, index) => {
if (element.creatorId === arr[0]) {
this.data.deleteItem(index)
animateTo({}, () => {
this.data.deleteItem(index);
});
this.count = this.data.size()
}
});
... ... @@ -92,6 +94,7 @@ export struct FollowListDetailUI {
ListItem() {
FollowChildComponent({ data: item, type: this.type })
}
.transition(TransitionEffect.OPACITY)
}, (item: FollowListDetailItem) => item.creatorId)
//没有更多数据 显示提示
... ...