WCS主题UI与登陆页面以及标题修改

This commit is contained in:
猫猫guowen
2025-07-14 14:35:43 +08:00
parent a41c994534
commit 3d78a5bd30
21 changed files with 460 additions and 228 deletions

View File

@@ -10,7 +10,20 @@ import ThemePicker from "@/components/ThemePicker"
export default {
name: "App",
components: { ThemePicker }
components: { ThemePicker },
computed: {
sideTheme() {
return this.$store.state.settings.sideTheme
}
},
watch: {
sideTheme: {
immediate: true,
handler(val) {
document.documentElement.setAttribute('data-theme', val)
}
}
}
}
</script>
<style scoped>