onecold 1 год назад
Родитель
Сommit
cc79083a65
1 измененных файлов с 2 добавлено и 0 удалено
  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)