fix: bottom token div overflow

This commit is contained in:
2021-05-29 00:40:25 +08:00
parent baceeb8732
commit 99e6b7922e
2 changed files with 3 additions and 3 deletions

View File

@@ -29,8 +29,7 @@
<router-view :token="token" @set_token="set_token" @play_audio="play_audio"></router-view> <router-view :token="token" @set_token="set_token" @play_audio="play_audio"></router-view>
</main> </main>
<footer> <footer>
<component-audio-player @stop="stop" @play_audio="play_audio" :file=playing_audio_file></component-audio-player> <component-audio-player :token="token" @stop="stop" @play_audio="play_audio" :file=playing_audio_file></component-audio-player>
<p>{{ token }}</p>
</footer> </footer>
</div> </div>
</body> </body>

View File

@@ -521,7 +521,7 @@ const component_audio_player = {
error_status: "", error_status: "",
} }
}, },
props: ["file"], props: ['file', 'token'],
template: ` template: `
<div> <div>
<h5>Player Status</h5> <h5>Player Status</h5>
@@ -548,6 +548,7 @@ const component_audio_player = {
<video v-if="computed_video_show" class="audio-player" :src="playing_url" controls autoplay :loop="loop"> <video v-if="computed_video_show" class="audio-player" :src="playing_url" controls autoplay :loop="loop">
</video> </video>
<component-stream-config @set_ffmpeg_config="set_ffmpeg_config"></component-stream-config> <component-stream-config @set_ffmpeg_config="set_ffmpeg_config"></component-stream-config>
<p>{{ token }}</p>
</div> </div>
`, `,
methods: { methods: {