摘要:
//vue3.0的App.vue配置方法如下:<template> <!-- vue3.0配置 --> <router-view v-slot="{ Component }"> <keep-alive> <component :is="Component" v-if="$route.meta.kee 阅读全文
摘要:
onActivated(() => { let html = document.getElementsByTagName("html") as any; html = html[0]; html.style.backgroundColor = "#f2f2f4"; }); onDeactivated 阅读全文