Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
oeyoews committed Jul 7, 2024
1 parent 58075fc commit c331012
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions utils/save2TiddlyWiki.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ const save2TiddlyWiki = async (
});
return;
}
if (!text) {
notify({ message: '内容为空', type: 'warning' });
return;
}

const baseURL = `http://localhost:${port}/recipes/default/tiddlers`;

const tags = tag
Expand Down

0 comments on commit c331012

Please sign in to comment.