v1.9 优化导入详情鼠标放上去不显示错误问题

This commit is contained in:
wuxw 2025-08-27 10:01:24 +08:00
parent f0891c464b
commit c42680bfe8

View File

@ -50,9 +50,11 @@
</el-table-column>
<el-table-column :label="$t('assetImportLogDetail.description')" align="center">
<template slot-scope="scope">
<div class="textAuto" style="max-width: 200px;">
{{ scope.row.message }}
</div>
<el-tooltip :content="scope.row.message" placement="top" :disabled="!scope.row.message || scope.row.message.length <= 20" popper-class="custom-tooltip">
<div class="textAuto" style="max-width: 200px;">
{{ scope.row.message }}
</div>
</el-tooltip>
</template>
</el-table-column>
</el-table>
@ -210,4 +212,14 @@ export default {
margin-top: 15px;
text-align: right;
}
/* 自定义 tooltip 样式 */
</style>
<style>
.custom-tooltip {
max-width: 600px !important;
word-wrap: break-word !important;
word-break: break-all !important;
}
</style>