This commit is contained in:
Vanessa 2023-12-25 15:20:30 +08:00
parent aaeff27ba6
commit 325feb4afb
5 changed files with 19 additions and 8 deletions

View file

@ -166,7 +166,7 @@ export class App {
}
await loadPlugins(this);
getLocalStorage(() => {
fetchGet(`/appearance/langs/${window.siyuan.config.appearance.lang}.json?v=${Constants.SIYUAN_VERSION}`, (lauguages) => {
fetchGet(`/appearance/langs/${window.siyuan.config.appearance.lang}.json?v=${Constants.SIYUAN_VERSION}`, (lauguages:IObject) => {
window.siyuan.languages = lauguages;
window.siyuan.menus = new Menus(this);
bootSync();