mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
v1.9 优化导入详情鼠标放上去不显示错误问题
This commit is contained in:
parent
f0891c464b
commit
c42680bfe8
@ -50,9 +50,11 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column :label="$t('assetImportLogDetail.description')" align="center">
|
<el-table-column :label="$t('assetImportLogDetail.description')" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
|
<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;">
|
<div class="textAuto" style="max-width: 200px;">
|
||||||
{{ scope.row.message }}
|
{{ scope.row.message }}
|
||||||
</div>
|
</div>
|
||||||
|
</el-tooltip>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@ -210,4 +212,14 @@ export default {
|
|||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 自定义 tooltip 样式 */
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.custom-tooltip {
|
||||||
|
max-width: 600px !important;
|
||||||
|
word-wrap: break-word !important;
|
||||||
|
word-break: break-all !important;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
Loading…
Reference in New Issue
Block a user