refactor: refactor store

This commit is contained in:
Vben
2021-04-10 19:25:49 +08:00
parent 700306bb45
commit 215d8bab38
80 changed files with 1628 additions and 1579 deletions

View File

@@ -58,7 +58,7 @@
import { useGlobSetting } from '/@/hooks/setting';
import { useI18n } from '/@/hooks/web/useI18n';
import { useDesign } from '/@/hooks/web/useDesign';
import { localeStore } from '/@/store/modules/locale';
import { useLocaleStore } from '/@/store/modules/locale';
export default defineComponent({
name: 'Login',
@@ -76,6 +76,7 @@
const globSetting = useGlobSetting();
const { prefixCls } = useDesign('login');
const { t } = useI18n();
const localeStore = useLocaleStore();
return {
t,