perf: permissions table col modify

This commit is contained in:
wangruidong
2024-02-22 14:24:23 +08:00
committed by w940853815
parent 0d870b62de
commit 56bae6ee84
2 changed files with 5 additions and 2 deletions

View File

@@ -18,7 +18,8 @@ export default {
props: {
object: {
type: Object,
default: () => {}
default: () => {
}
}
},
data() {
@@ -39,6 +40,7 @@ export default {
columnsMeta: {
name: {
label: this.$t('Name'),
width: 90,
formatter: (row) => {
const to = {
name: 'UserDetail',

View File

@@ -96,6 +96,7 @@ export default {
}
},
user_groups_amount: {
width: 90,
formatter: AmountFormatter,
formatterArgs: {
async: true,
@@ -114,7 +115,7 @@ export default {
}
},
nodes_amount: {
width: '60px',
width: 80,
formatter: AmountFormatter,
formatterArgs: {
async: true,