Skip to content

Commit

Permalink
style(projects): Table field display style
Browse files Browse the repository at this point in the history
  • Loading branch information
paynezhuang committed Nov 13, 2024
1 parent f5fc039 commit 8529bcf
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions src/views/manage/notice/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ const { columns, columnChecks, data, loading, getData, getDataByPage, mobilePagi
title: null
},
columns: () => [
{
type: 'selection',
align: 'center',
width: 48
},
{
key: 'index',
title: $t('common.index'),
Expand All @@ -55,16 +60,19 @@ const { columns, columnChecks, data, loading, getData, getDataByPage, mobilePagi
title: $t('page.manage.notice.title'),
align: 'center',
width: 100,
minWidth: 100
minWidth: 100,
ellipsis: {
tooltip: true
}
},
{
key: 'content',
title: $t('page.manage.notice.content'),
align: 'center',
width: 200,
minWidth: 200,
props: {
ellipsis: true
ellipsis: {
tooltip: true
}
},
{
Expand All @@ -81,8 +89,8 @@ const { columns, columnChecks, data, loading, getData, getDataByPage, mobilePagi
align: 'center',
width: 200,
minWidth: 200,
props: {
ellipsis: true
ellipsis: {
tooltip: true
}
},
Expand Down Expand Up @@ -113,6 +121,7 @@ const { columns, columnChecks, data, loading, getData, getDataByPage, mobilePagi
key: 'operate',
title: $t('common.operate'),
align: 'center',
fixed: 'right',
width: 200,
minWidth: 200,
render: row => (
Expand Down

0 comments on commit 8529bcf

Please sign in to comment.