fix(lyrics): fix resetting the previous page when lyrics switchoff (#547)

This commit is contained in:
Map1en_ 2021-04-20 11:51:14 +08:00 committed by GitHub
parent dceb5cdb2c
commit fc08992244
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
<template>
<div id="app">
<Navbar ref="navbar" v-show="showNavbar" />
<main v-show="!this.$store.state.showLyrics">
<main>
<keep-alive>
<router-view v-if="$route.meta.keepAlive"></router-view>
</keep-alive>