Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
wangliang_wd
2024-10-29 17:41:51 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
56cdcaf35c439e29a175583a9609ec868cacc16d
56cdcaf3
1 parent
3537ff06
feat:优化我的收藏,全选和取消逻辑
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
sight_harmony/features/wdComponent/src/main/ets/components/page/MyCollectionListPage.ets
sight_harmony/features/wdComponent/src/main/ets/components/view/CustomBottomFuctionUI.ets
sight_harmony/features/wdComponent/src/main/ets/components/page/MyCollectionListPage.ets
View file @
56cdcaf
...
...
@@ -262,6 +262,8 @@ struct MyCollectionListPage {
this.selectDatas.splice(0,this.deleteNum)
}
this.deleteNum = this.selectDatas.length
this.isAllSelect = this.deleteNum === this.allDatas.length?true:false;
}
//删除
...
...
sight_harmony/features/wdComponent/src/main/ets/components/view/CustomBottomFuctionUI.ets
View file @
56cdcaf
...
...
@@ -28,8 +28,7 @@ export struct CustomBottomFuctionUI {
left: {anchor: "__container__", align: HorizontalAlign.Start}
})
.onClick(()=>{
this.isAllSelect = !this.isAllSelect;
this.selectAllCallback(this.isAllSelect)
this.selectAllCallback(this.isAllSelect?false:true)
})
...
...
Please
register
or
login
to post a comment