Skip to content

Commit 54d77d0

Browse files
authored
Merge pull request #583 from MoYingJi/fix
fix(playlist): 歌单描述有换行时并没有正确换行
2 parents f0270a2 + bd25a8f commit 54d77d0

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/views/List/playlist.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,11 @@
5656
:tooltip="{
5757
trigger: 'click',
5858
placement: 'bottom',
59-
width: 'trigger',
6059
}"
6160
>
62-
{{ playlistDetailData.description }}
61+
<span style="white-space: pre;">
62+
{{ playlistDetailData.description }}
63+
</span>
6364
</n-ellipsis>
6465
<!-- 信息 -->
6566
<n-flex class="meta">

0 commit comments

Comments
 (0)