ci: 集成 pinia 提供主题持久化

This commit is contained in:
就眠儀式
2022-04-06 00:24:20 +08:00
parent 0f7d25bc09
commit ae75cffa9b
5 changed files with 28 additions and 29 deletions

View File

@@ -119,7 +119,7 @@ export default {
setup() {
const { t } = useI18n();
const appStore = useAppStore();
const changeTheme = () => {
if (appStore.theme === "dark") {
appStore.theme = "light";