解决keepAlive缓存设置

This commit is contained in:
zilong
2021-10-21 23:57:50 +08:00
parent 8448b293a9
commit 4ade4395d4
19 changed files with 390 additions and 69 deletions

View File

@@ -1,5 +1,5 @@
<script setup>
import { ref, reactive, h, watch, toRaw } from "vue";
import { ref, reactive, h, watch, toRaw, onUnmounted } from "vue";
import {
RouterLink,
useRoute,
@@ -27,6 +27,11 @@ import dayjs from 'dayjs'
import 'dayjs/locale/zh-cn'
import pubsub from "pubsub-js";
console.log('Played 初始化');
onUnmounted(() => {
console.log('Played 卸载');
})
const menuOptions = [
{
label: "最近播放",