Showing
1 changed file
with
6 additions
and
0 deletions
| ... | @@ -69,6 +69,12 @@ watch( | ... | @@ -69,6 +69,12 @@ watch( |
| 69 | (v) => { | 69 | (v) => { |
| 70 | info_height.value = v; | 70 | info_height.value = v; |
| 71 | anchors.value = [(0.2 * window.innerHeight), (0.5 * window.innerHeight)]; | 71 | anchors.value = [(0.2 * window.innerHeight), (0.5 * window.innerHeight)]; |
| 72 | + if (v) { | ||
| 73 | + // 自动打开第一个 | ||
| 74 | + handleAudioPlay(audio_list.value[0], 0); | ||
| 75 | + } else { | ||
| 76 | + onClose(); | ||
| 77 | + } | ||
| 72 | } | 78 | } |
| 73 | ) | 79 | ) |
| 74 | watch( | 80 | watch( | ... | ... |
-
Please register or login to post a comment