浏览代码

updateListData刷新的时候isShowTitleBar设置true

onecold 8 月之前
父节点
当前提交
0fdb5e2e7f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      entry/src/main/ets/view/LocalMusic.ets

+ 1 - 1
entry/src/main/ets/view/LocalMusic.ets

@@ -2402,7 +2402,7 @@ export struct LocalMusic {
     return mediaItems;
   }
   updateListData(mList: Array<VideoItem>, noSort?: boolean) {
-
+    this.isShowTitleBar = true
     animateTo({ duration: 666 }, () => {
       this.opacityItem = 0.5;
     });