From e6295c9dc5d291dde0ae481859d0b948659f5f50 Mon Sep 17 00:00:00 2001 From: jym503558564 <503558564@qq.com> Date: Fri, 3 Jul 2020 16:02:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=E8=A1=A8=E6=A0=BC?= =?UTF-8?q?=E5=AE=BD=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/AssetUserTable/index.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/components/AssetUserTable/index.vue b/src/components/AssetUserTable/index.vue index 066168975..b80be5efb 100644 --- a/src/components/AssetUserTable/index.vue +++ b/src/components/AssetUserTable/index.vue @@ -114,15 +114,18 @@ export default { columns: [ { prop: 'hostname', - label: this.$t('assets.Hostname') + label: this.$t('assets.Hostname'), + showOverflowTooltip: true }, { prop: 'ip', - label: this.$t('assets.ip') + label: this.$t('assets.ip'), + width: 140 }, { prop: 'username', - label: this.$t('assets.Username') + label: this.$t('assets.Username'), + showOverflowTooltip: true }, { prop: 'version', @@ -138,6 +141,7 @@ export default { prop: 'id', label: this.$t('common.Action'), align: 'center', + width: 150, formatter: ActionsFormatter, formatterArgs: { hasUpdate: false, // can set function(row, value)