Pre Merge pull request !220 from Lau/dev

This commit is contained in:
Lau 2025-06-25 01:18:47 +00:00 committed by Gitee
commit fa5d6cb848
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -120,6 +120,9 @@ const isDark = useDark({
valueDark: 'dark', valueDark: 'dark',
valueLight: 'light' valueLight: 'light'
}); });
onMounted(() => {
isDark.value = settingsStore.dark;
});
// //
watch(isDark, () => { watch(isDark, () => {
if (isDark.value) { if (isDark.value) {