修改禅道bug

This commit is contained in:
zyx.net
2022-08-18 13:56:15 +08:00
parent c5682ef175
commit 831ade2161
2 changed files with 10 additions and 8 deletions
@@ -36,7 +36,7 @@
size="middle"
:loading="loading"
:pagination="false"
:scroll="{x: '100%',y:'calc(100vh - 130px)'}"
:scroll="{x: '100%',y:'calc(100vh - 158px)'}"
rowKey="id"
:data-source="dataSource"
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
@@ -44,7 +44,7 @@
>
<span slot="projectName" slot-scope="text,record" :title="text">
<a >
{{ text && text.length > 10 ? text.slice(0, 9) + '...' : text }}
{{ text && text.length > 20 ? text.slice(0, 19) + '...' : text }}
</a>
</span>
<span slot="operation" slot-scope="text,record">
@@ -113,7 +113,7 @@
{
title: this.$t('entryName'),
align: 'center',
width: '13%',
width: '17%',
dataIndex: 'projectName',
scopedSlots: { customRender: 'projectName' }
},