♻️ 修改系统设置存储方式

This commit is contained in:
muwoo
2023-08-22 17:41:51 +08:00
parent d2d94c13b7
commit f4f91e1639
24 changed files with 202 additions and 110 deletions

View File

@@ -1,7 +1,7 @@
import { createI18n } from 'vue-i18n';
import messages from './langs';
const remote = window.require('@electron/remote');
const { perf } = remote.getGlobal('OP_CONFIG').get();
import localConfig from '@/confOp';
const { perf }: any = localConfig.getConfig();
// 2. Create i18n instance with options
const i18n = createI18n({