优化组件类型声明,添加视频播放功能,更新依赖项,重构多个组件,改进路由配置及页面元信息

This commit is contained in:
2025-12-19 10:58:08 +08:00
parent 7b313a2264
commit 3cd1b10b0f
14 changed files with 295 additions and 25 deletions

View File

@ -129,7 +129,7 @@ const options = ref([
// 图片数据
const navlist: any = ref([])
const usrLog = $store.log.useLogStore()
async function getNavList() {
const res = await $http.nav.getNavList()
res.data?.forEach((i: any) => {
@ -223,6 +223,16 @@ async function navSubmit() {
}
// 监听store的登录状态
watch(() => usrLog.isLogin, (newVal) => {
console.log('********** --> watch --> newVal:', newVal)
if (newVal) {
getNavList()
}else {
navlist.value = []
}
})
onMounted(() => {