mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-30 07:39:54 +08:00
♻️ 修改系统设置存储方式
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user