perf: table demo
This commit is contained in:
parent
006f730457
commit
3a415703d4
@ -56,12 +56,13 @@ export const usePostTable = () => {
|
|||||||
function initColumns() {
|
function initColumns() {
|
||||||
columns.value = [
|
columns.value = [
|
||||||
{ type: 'selection' },
|
{ type: 'selection' },
|
||||||
{ title: '标题', key: 'title', width: 150 },
|
{ title: '标题', key: 'title', width: 150, ellipsis: { tooltip: true } },
|
||||||
{ title: '分类', key: 'category', width: 80 },
|
{ title: '分类', key: 'category', width: 80, ellipsis: { tooltip: true } },
|
||||||
{
|
{
|
||||||
title: '描述',
|
title: '描述',
|
||||||
key: 'description',
|
key: 'description',
|
||||||
width: 200,
|
width: 200,
|
||||||
|
ellipsis: { tooltip: true },
|
||||||
},
|
},
|
||||||
{ title: '创建人', key: 'author', width: 80 },
|
{ title: '创建人', key: 'author', width: 80 },
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user