优化布局推荐模块

This commit is contained in:
zjl 2024-12-13 15:32:33 +08:00
parent 1c83b4a240
commit c96ded03fc
2 changed files with 4 additions and 4 deletions

View File

@ -10,12 +10,13 @@ export const columns = [
{ {
title: 'ID', title: 'ID',
key: 'id', key: 'id',
width: 60, width: 50,
fixed: 'left', fixed: 'left',
}, },
{ {
title: '文章标题', title: '文章标题',
key: 'title', key: 'title',
width: 300,
ren(record) { ren(record) {
return h( return h(
'a', 'a',
@ -26,7 +27,6 @@ export const columns = [
record.title, record.title,
); );
}, },
width: 300,
}, },
{ {
title: '文章分类', title: '文章分类',

View File

@ -11,13 +11,13 @@ export const columns2 = [
{ {
title: 'ID', title: 'ID',
key: 'id', key: 'id',
width: 60, width: 50,
fixed: 'left', fixed: 'left',
}, },
{ {
title: '通知标题', title: '通知标题',
key: 'title', key: 'title',
width: 200, width: 300,
}, },
{ {
title: '通知类型', title: '通知类型',