修改已知问题

This commit is contained in:
qq787203167
2022-06-01 14:05:24 +08:00
parent d4a8855af3
commit 3adff7c3eb
6 changed files with 80 additions and 41 deletions
@@ -160,7 +160,9 @@
:columns="columns"
>
<span slot="standard" slot-scope="text,result">
<a @click="standardClick(result)" :title="text">{{text}}</a>
<a @click="standardClick(result)" class="textName" :title="text">
{{text}}
</a>
</span>
</a-table>
</div>
@@ -201,16 +203,14 @@
title: this.$t('standard'),
align: 'center',
dataIndex: 'serialNumber',
ellipsis: true,
width: 180,
width: 170,
scopedSlots: { customRender: 'standard' }
},
{
title: this.$t('title'),
align: 'center',
dataIndex: 'title',
ellipsis: true,
width: 180,
width: 170,
scopedSlots: { customRender: 'standard' }
},
{
@@ -456,4 +456,15 @@
text-align: right;
margin-top: 20px;
}
.textName {
width: 100%;
overflow: hidden;
display: -webkit-box;
text-overflow: ellipsis;
/*! autoprefixer: off */
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
/*! autoprefixer: on;*/
}
</style>