mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-07 02:46:55 +08:00
bug fix
This commit is contained in:
@@ -169,7 +169,7 @@ const templateOptions = [
|
|||||||
value: 'schedule',
|
value: 'schedule',
|
||||||
},
|
},
|
||||||
] as SelectOption[]
|
] as SelectOption[]
|
||||||
const selectedOption = ref(route.query.template?.toString() ?? '')
|
const selectedOption = ref(route.query.template?.toString() ?? 'index')
|
||||||
const selectedTab = ref(route.query.tab?.toString() ?? 'general')
|
const selectedTab = ref(route.query.tab?.toString() ?? 'general')
|
||||||
|
|
||||||
const selectedTemplateData = computed(() => templates[selectedOption.value])
|
const selectedTemplateData = computed(() => templates[selectedOption.value])
|
||||||
|
|||||||
Reference in New Issue
Block a user