Vanessa 2025-12-03 19:23:41 +08:00
parent 748784554a
commit 3685753c75

View file

@ -16,9 +16,9 @@ export const fetchNewDailyNote = (app: App, notebook: string) => {
app: Constants.SIYUAN_APPID,
}, (response) => {
/// #if MOBILE
openMobileFileById(app, response.data.id);
openMobileFileById(app, response.data.id, [Constants.CB_GET_SCROLL, Constants.CB_GET_FOCUS]);
/// #else
openFileById({app, id: response.data.id, action: [Constants.CB_GET_FOCUS]});
openFileById({app, id: response.data.id, action: [Constants.CB_GET_SCROLL, Constants.CB_GET_FOCUS]});
/// #endif
});
};