fix: 修复修改公告时保存按钮点击无效的问题

This commit is contained in:
2024-04-29 22:17:46 +08:00
parent 3dfa97e785
commit c0a5c2dffe

View File

@@ -154,7 +154,7 @@ const save = async () => {
if (isInvalid) return false
try {
if (isUpdate.value) {
await updateNotice(form, announcementId.value)
await updateNotice(form, dataId.value)
Message.success('修改成功')
} else {
await addNotice(form)