fix
This commit is contained in:
@@ -109,18 +109,18 @@ const handleCreate = () => {
|
||||
|
||||
// 修改操作
|
||||
const handleUpdate = async (rowId: number) => {
|
||||
setDialogTile('update')
|
||||
// 设置数据
|
||||
const res = await NoticeApi.getNoticeApi(rowId)
|
||||
unref(formRef)?.setValues(res)
|
||||
setDialogTile('update')
|
||||
}
|
||||
|
||||
// 详情操作
|
||||
const handleDetail = async (rowId: number) => {
|
||||
setDialogTile('detail')
|
||||
// 设置数据
|
||||
const res = await NoticeApi.getNoticeApi(rowId)
|
||||
detailRef.value = res
|
||||
setDialogTile('detail')
|
||||
}
|
||||
|
||||
// 删除操作
|
||||
|
||||
@@ -34,7 +34,7 @@ const crudSchemas = reactive<VxeCrudSchema>({
|
||||
isSearch: true
|
||||
},
|
||||
{
|
||||
title: '公告内容', // TODO 星语:详情时,公告展示有办法是 html 么?
|
||||
title: '公告内容',
|
||||
field: 'content',
|
||||
table: {
|
||||
type: 'html'
|
||||
|
||||
Reference in New Issue
Block a user