update 优化 通知公告提交提示

This commit is contained in:
疯狂的狮子Li 2023-12-23 23:13:34 +08:00
parent 20b7819f11
commit c5daf629d9

View File

@ -222,7 +222,7 @@ const submitForm = () => {
noticeFormRef.value?.validate(async (valid: boolean) => { noticeFormRef.value?.validate(async (valid: boolean) => {
if (valid) { if (valid) {
form.value.noticeId ? await updateNotice(form.value) : await addNotice(form.value); form.value.noticeId ? await updateNotice(form.value) : await addNotice(form.value);
proxy?.$modal.msgSuccess('修改成功'); proxy?.$modal.msgSuccess('操作成功');
dialog.visible = false; dialog.visible = false;
await getList(); await getList();
} }