This commit is contained in:
Vanessa 2023-09-26 10:33:06 +08:00
parent c3adbe6b52
commit 6df261fae8
5 changed files with 8 additions and 8 deletions

View file

@ -168,7 +168,7 @@ export class App {
window.siyuan.menus = new Menus(this);
bootSync();
fetchPost("/api/setting/getCloudUser", {}, userResponse => {
window.siyuan.user = userResponse.data;
window.siyuan.user = userResponse.data || {};
onGetConfig(response.data.start, this);
account.onSetaccount();
setTitle(window.siyuan.languages.siyuanNote);