vue3【notice】:1)增加 reloadList 建议 await;2)notice 的 html 详情展示的 todo;3)列表不展示 content 字段

This commit is contained in:
YunaiV 2022-11-16 09:39:05 +08:00
parent b84047b34b
commit f894085cbd
2 changed files with 4 additions and 3 deletions

View File

@ -148,7 +148,7 @@ const submitForm = async () => {
dialogVisible.value = false dialogVisible.value = false
} finally { } finally {
actionLoading.value = false actionLoading.value = false
// // TODO await
reloadList(xGrid) reloadList(xGrid)
} }
} }

View File

@ -34,7 +34,7 @@ const crudSchemas = reactive<VxeCrudSchema>({
isSearch: true isSearch: true
}, },
{ {
title: '公告内容', title: '公告内容', // TODO 星语:详情时,公告展示有办法是 html 么?
field: 'content', field: 'content',
table: { table: {
type: 'html' type: 'html'
@ -47,7 +47,8 @@ const crudSchemas = reactive<VxeCrudSchema>({
componentProps: { componentProps: {
valueHtml: '' valueHtml: ''
} }
} },
isTable: false
}, },
{ {
title: t('common.createTime'), title: t('common.createTime'),