diff --git a/src/modules/other/information/InformationListView.vue b/src/modules/other/information/InformationListView.vue index 388cf12..f033b01 100644 --- a/src/modules/other/information/InformationListView.vue +++ b/src/modules/other/information/InformationListView.vue @@ -53,10 +53,12 @@ const editForm = reactive({ const columns = [ { prop: 'id', label: 'ID', width: 90 }, + { label: '封面', width: 160, slot: 'cover' }, { prop: 'title', label: '资讯标题', minWidth: 260 }, { prop: 'categoryName', label: '分类', width: 120, formatter: (r: Info) => r.categoryName || '--' }, { prop: 'status', label: '状态', width: 90, formatter: (r: Info) => r.status === 0 ? '草稿' : '已发布' }, { prop: 'createTime', label: '发布时间', width: 170 }, + { label: '操作', width: 160, fixed: 'right' as const, slot: 'action' }, ] const imgStyle = computed(() => ({ @@ -201,22 +203,16 @@ onMounted(load) -