!139 list滚动出现crash

Merge pull request !139 from 马世韬/master
This commit is contained in:
openharmony_ci 2022-12-01 13:35:09 +00:00 committed by Gitee
commit cc70d193ef
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 3 additions and 3 deletions

View File

@ -384,7 +384,7 @@ struct FolderItemComp {
.textOverflow({ overflow: TextOverflow.Ellipsis })
.flexShrink(1)
.fontColor(FolderUtil.getFolderTextColor(this.selectedFolderData.uuid == this.folderItem.uuid))
Text(this.refreshFlag.toString())
Text(JSON.stringify(this.refreshFlag))
.visibility(Visibility.None) // 用于强制刷新使用
}.width(118)
@ -445,7 +445,7 @@ struct FolderItemComp {
.textOverflow({ overflow: TextOverflow.Ellipsis })
.flexShrink(1)
.fontColor(FolderUtil.getFolderTextColor(this.selectedFolderData.uuid == this.folderItem.uuid))
Text(this.refreshFlag.toString())
Text(JSON.stringify(this.refreshFlag))
.visibility(Visibility.None) // 用于强制刷新使用
}.width(118)

View File

@ -226,7 +226,7 @@ export struct NoteItemComp {
build() {
Flex({ justifyContent: FlexAlign.SpaceBetween, alignItems: ItemAlign.Center }) {
Flex({ direction: FlexDirection.Row, alignItems: ItemAlign.Center }) {
Text(this.refreshFlag.toString()).visibility(Visibility.None) // 用于强制刷新使用
Text(JSON.stringify(this.refreshFlag)).visibility(Visibility.None) // 用于强制刷新使用
Column({ space: 2 }) {
Row({ space: 8 }) {
Image($r("app.media.verticalBar"))