mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-11-11 22:58:37 +08:00
feat: 适配首页公告卡片并完善通知公告
This commit is contained in:
@@ -74,9 +74,9 @@ const onUpdate = async (id: string) => {
|
||||
|
||||
// 保存
|
||||
const save = async () => {
|
||||
const isInvalid = await formRef.value?.formRef?.validate()
|
||||
if (isInvalid) return false
|
||||
try {
|
||||
const isInvalid = await formRef.value?.formRef?.validate()
|
||||
if (isInvalid) return false
|
||||
if (isUpdate.value) {
|
||||
await updateDict(form, dataId.value)
|
||||
Message.success('修改成功')
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
<div class="gi_page">
|
||||
<a-card title="字典管理" class="general-card">
|
||||
<GiTable
|
||||
ref="tableRef"
|
||||
row-key="id"
|
||||
:data="dataList"
|
||||
:columns="columns"
|
||||
|
||||
Reference in New Issue
Block a user