mirror of
https://github.com/zclzone/vue-naive-admin.git
synced 2025-05-02 07:09:01 +08:00
feat(table): 添加vxe-table,适配naiveui主题,并替换掉之前table,自带导出
This commit is contained in:
parent
85867263e6
commit
9b43b9cad3
@ -102,11 +102,10 @@ const columns = [
|
||||
src: avatar,
|
||||
}),
|
||||
},
|
||||
{ title: '用户名', key: 'username', width: 150, ellipsis: { tooltip: true } },
|
||||
{ title: '用户名', key: 'username', ellipsis: { tooltip: true } },
|
||||
{
|
||||
title: '角色',
|
||||
key: 'roles',
|
||||
width: 200,
|
||||
ellipsis: { tooltip: true },
|
||||
render: ({ roles }) => {
|
||||
if (roles?.length) {
|
||||
@ -157,7 +156,7 @@ const columns = [
|
||||
{
|
||||
title: '操作',
|
||||
key: 'actions',
|
||||
width: 100,
|
||||
width: 120,
|
||||
align: 'right',
|
||||
fixed: 'right',
|
||||
hideInExcel: true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user