core: bug fix

fix #68
fix #70
fix #71
This commit is contained in:
undefined committed 2021-03-29 01:57:13 +08:00
1 parent ee4dc90cf3
commit 1472c1567c
8 files changed
+48 -23

No files matched your search

+1 -1
View File
@@ -205,7 +205,7 @@ bus.once('app/started', async () => {
bus.on('system/setting', (args) => {
if (!args.lang?.texts) return;
SETTINGS_BY_KEY['codeLang'].range = args.lang.texts;
SETTINGS_BY_KEY['codeLang'].range = yaml.load(args.lang.texts) as any;
});
global.Hydro.model.setting = {