Skip to content

Commit

Permalink
fix: 创建文章回填 noteId
Browse files Browse the repository at this point in the history
  • Loading branch information
Otto-J committed Oct 24, 2023
1 parent 584eba4 commit 290be35
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/ui/publishModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -433,8 +433,9 @@ const handleSubmit = async ({
if (!res) {
return;
}
// console.log("创建的 noteID 是", res.data.noteId);
// numberNoteID = res.data.noteId;
console.log("创建的 noteID 是", res.data.noteId);
numberNoteID = res.data.noteId;
}
await updateFrontMatterByFile(
Expand Down

0 comments on commit 290be35

Please sign in to comment.