From f576629d4a65f39907f0219b2069cefabb420912 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=BD=A6=E6=B3=BD?= Date: Mon, 13 Feb 2023 15:26:35 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=96=87=E6=A1=A3=E5=B7=A5=E5=85=B7-?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E6=8B=86=E5=88=86-=E6=8B=86=E5=88=86?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E8=AF=A6=E6=83=85-=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E8=A1=A8=E5=A4=B4=E6=8B=96=E6=8B=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/SplitDetailTable/index.vue | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/jero-web/src/components/SplitDetailTable/index.vue b/jero-web/src/components/SplitDetailTable/index.vue index 714f99a93..12e043bf7 100644 --- a/jero-web/src/components/SplitDetailTable/index.vue +++ b/jero-web/src/components/SplitDetailTable/index.vue @@ -7,7 +7,7 @@ :components="drag(columns,'columns')" :row-selection="{ fixed: true, selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :pagination="false" - :scroll="{x: true}" + :scroll="{x: '100%'}" :data-source="dataSource" :loading="loading" :columns="columns" @@ -35,12 +35,14 @@ - {{text && text.length > 18?text.slice(0,17)+'...':text}} + + {{text}} - - {{text && text.length > 18?text.slice(0,17)+'...':text}} + + + {{text}} @@ -186,7 +188,7 @@ customRender: 'urlClick' } }else if(res.db_field_name=='iterms_conditions'){ - this.columns[index].width='500' + this.columns[index].width= 500 this.columns[index].scopedSlots = { customRender: 'showContent' } @@ -296,7 +298,7 @@ .table{ .ant-table-row-cell-break-word{ span{ - display: block; + //display: block; width: inherit; } @@ -317,7 +319,7 @@ } \ No newline at end of file