bug修复
This commit is contained in:
@@ -115,7 +115,7 @@ async function handleSubmit(publish) {
|
||||
const data = {
|
||||
...form.value,
|
||||
content: editor.value?.getHTML() || '',
|
||||
publish,
|
||||
status: publish ? 1 : 0,
|
||||
}
|
||||
if (isEdit.value) {
|
||||
await updateArticle(route.params.id, data)
|
||||
|
||||
Reference in New Issue
Block a user