解决keepAlive缓存设置
This commit is contained in:
@@ -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: "最近播放",
|
||||
|
||||
Reference in New Issue
Block a user