mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 09:46:28 +08:00
core: fix system_setting to update codeLang list
This commit is contained in:
1 parent
e7780c56bb
commit
be0b90dcd4
8 files changed
+23
-10
No files matched your search
@@ -201,7 +201,7 @@ bus.once('app/started', async () => {
|
||||
|
||||
bus.on('system/setting', (args) => {
|
||||
if (!args.lang?.texts) return;
|
||||
SETTINGS_BY_KEY['lang.texts'].value = args.lang.texts;
|
||||
SETTINGS_BY_KEY['codeLang'].range = args.lang.texts;
|
||||
});
|
||||
|
||||
global.Hydro.model.setting = {
|
||||
|
||||
Reference in new issue
Block a user