Ver Fonte

修复编辑标签 标题和艺术家 和专辑名 无法清空的bug

onecold há 6 meses atrás
pai
commit
a6723d80e2
1 ficheiros alterados com 3 adições e 3 exclusões
  1. 3 3
      entry/src/main/ets/view/LocalMusic.ets

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

@@ -7831,7 +7831,7 @@ export struct LocalMusic {
             .fontColor($r('app.color.text_color'))
             .margin({ left: 22 })
 
-          TextInput({ text: this.titleStr||item.name })
+          TextInput({ text: this.titleStr })
             .height(40)
             .maxLines(1)
             .fontSize(14)
@@ -7870,7 +7870,7 @@ export struct LocalMusic {
             .fontColor($r('app.color.text_color'))
             .margin({ left: 22 })
 
-          TextInput({ text: this.artistStr||item.artist })
+          TextInput({ text: this.artistStr })
             .height(40)
             .maxLines(1)
             .fontSize(14)
@@ -7890,7 +7890,7 @@ export struct LocalMusic {
             .fontSize(14)
             .fontColor($r('app.color.text_color'))
             .margin({ left: 22 })
-          TextInput({ text:  this.ablumStr||item.album })
+          TextInput({ text:  this.ablumStr})
             .height(40)
             .maxLines(1)
             .fontSize(14)