From cc76a66a346b9675e4d3bc983088d8cec6fe9f46 Mon Sep 17 00:00:00 2001 From: fit2bot <68588906+fit2bot@users.noreply.github.com> Date: Wed, 15 Sep 2021 20:32:39 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E8=B5=84=E4=BA=A7=E9=A1=B5=E9=9D=A2=E5=AE=BD=E5=BA=A6=20(#1049?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: ibuler --- src/userviews/assets/index.vue | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/userviews/assets/index.vue b/src/userviews/assets/index.vue index d45a984ec..a551fc750 100644 --- a/src/userviews/assets/index.vue +++ b/src/userviews/assets/index.vue @@ -75,12 +75,13 @@ export default { }, ip: { sortable: 'custom', - width: '180px' + width: '150px' }, system_users: { + showOverflowTooltip: true, align: 'center', label: this.$t('assets.SystemUsers'), - width: '200px', + width: '150px', formatter: SystemUserFormatter, formatterArgs: { getUrl: ({ row }) => { @@ -89,14 +90,11 @@ export default { } }, platform: { - label: this.$t('assets.Platform'), width: '120px' }, comment: { - prop: 'comment', - label: this.$t('assets.Comment'), showOverflowTooltip: true, - width: '180px' + width: '100px' }, actions: { formatterArgs: {