mirror of
https://github.com/openharmony/applications_notes.git
synced 2026-07-21 00:26:37 -04:00
Issue:#I63XQM:list滚动出现crash
Description: The list scrolls to crash Sig: SIG_Notes Feature or Bugfix: Bugfix Binary Source: No Signed-off-by: mashitao2 <mashitao2@huawei.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user