fix video collect detail

This commit is contained in:
2024-02-21 16:03:34 +08:00
parent 6317699f6c
commit bd96fecf4b
5 changed files with 67 additions and 61 deletions

View File

@@ -1,5 +1,11 @@
<template>
<NConfigProvider :theme-overrides="themeOverrides" :theme="theme" style="height: 100vh" :locale="zhCN" :date-locale="dateZhCN">
<NConfigProvider
:theme-overrides="themeOverrides"
:theme="theme"
style="height: 100vh"
:locale="zhCN"
:date-locale="dateZhCN"
>
<NMessageProvider>
<NNotificationProvider>
<NDialogProvider>
@@ -58,7 +64,7 @@ import TempComponent from './components/TempComponent.vue'
const route = useRoute()
const layout = computed(() => {
if (route.path.startsWith('/user')) {
if (route.path.startsWith('/user') || route.name == 'user' || route.path.startsWith('/@')) {
document.title = route.meta.title + ' · ' + route.params.id + ' · VTsuru'
return 'viewer'
} else if (route.path.startsWith('/manage')) {