mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 09:00:12 +01:00
This commit is contained in:
parent
33fa1700f8
commit
18415517bb
4 changed files with 26 additions and 11 deletions
|
|
@ -21,6 +21,7 @@ import {
|
|||
import {promiseTransactions} from "./protyle/wysiwyg/transaction";
|
||||
import {initMessage} from "./dialog/message";
|
||||
import {resizeDrag} from "./layout/util";
|
||||
import {setLocalStorage} from "./protyle/util/compatibility";
|
||||
|
||||
class App {
|
||||
constructor() {
|
||||
|
|
@ -81,6 +82,7 @@ class App {
|
|||
}),
|
||||
menus: new Menus()
|
||||
};
|
||||
setLocalStorage();
|
||||
fetchPost("/api/system/getConf", {}, response => {
|
||||
window.siyuan.config = response.data.conf;
|
||||
fetchGet(`/appearance/langs/${window.siyuan.config.appearance.lang}.json?v=${Constants.SIYUAN_VERSION}`, (lauguages) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue