mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-09-25 06:57:12 +08:00
fix: 修复修改公告时保存按钮点击无效的问题
This commit is contained in:
@@ -154,7 +154,7 @@ const save = async () => {
|
|||||||
if (isInvalid) return false
|
if (isInvalid) return false
|
||||||
try {
|
try {
|
||||||
if (isUpdate.value) {
|
if (isUpdate.value) {
|
||||||
await updateNotice(form, announcementId.value)
|
await updateNotice(form, dataId.value)
|
||||||
Message.success('修改成功')
|
Message.success('修改成功')
|
||||||
} else {
|
} else {
|
||||||
await addNotice(form)
|
await addNotice(form)
|
||||||
|
Reference in New Issue
Block a user