Przeglądaj źródła

修复刚刚提交的小bug

onecold 1 rok temu
rodzic
commit
cc79083a65
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      entry/src/main/ets/view/LocalMusic.ets

+ 2 - 0
entry/src/main/ets/view/LocalMusic.ets

@@ -3627,6 +3627,8 @@ export struct LocalMusic {
                     .backgroundColor('#FFC107')
                 }
                 .margin({ top: 2 ,right:6})
+                .visibility((this.modeType == 3 && !this.isCanBack)||(this.modeType == 2 && !this.isCanBack)
+                     ||(this.modeType == 0&&item.type==CommonConstants.TYPE_IS_DIR)? Visibility.None : Visibility.Visible)
                 Text(StrUtil.isEmpty(item.artist) ? 'Unknown' : item.artist)
                   .fontSize(11)
                   .fontSize(this.twoFingerType == 1 ? 10 : this.twoFingerType == 2 ? 12 : 14)