fix: save draft with custom tags

This commit is contained in:
Tim
2025-07-14 15:38:43 +08:00
parent f4c4947bd0
commit 9cdb740cae

View File

@@ -98,6 +98,7 @@ export default {
return return
} }
try { try {
await ensureTags(token)
const res = await fetch(`${API_BASE_URL}/api/drafts`, { const res = await fetch(`${API_BASE_URL}/api/drafts`, {
method: 'POST', method: 'POST',
headers: { headers: {