🐛 fix i18n init bug

This commit is contained in:
landaiqing
2024-08-13 15:40:30 +08:00
parent 431e690f02
commit fa1301689a
24 changed files with 135 additions and 106 deletions

View File

@@ -2,7 +2,6 @@ import {defineStore} from 'pinia';
import {computed, ref} from 'vue';
import {theme} from 'ant-design-vue';
import variables from '@/assets/styles/colors.module.scss';
import {parse, stringify} from "zipson/lib";
/**
* theme 配置
@@ -45,10 +44,6 @@ export const useThemeStore = defineStore(
key: 'theme',
storage: localStorage,
paths: ["themeName", "darkMode"],
serializer: {
deserialize: parse,
serialize: stringify,
},
}
}
);