Vanessa 2022-10-21 11:21:48 +08:00
parent 1946be52e1
commit 9fb4d9da2a
2 changed files with 8 additions and 4 deletions

View file

@ -267,7 +267,8 @@ const initBar = () => {
label: item.name,
click: () => {
fetchPost("/api/filetree/createDailyNote", {
notebook: item.id
notebook: item.id,
app: Constants.SIYUAN_APPID,
});
window.localStorage.setItem(Constants.LOCAL_DAILYNOTEID, item.id);
}