mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +08:00
v1.9 优化导入详情鼠标放上去不显示错误问题
This commit is contained in:
parent
f0891c464b
commit
c42680bfe8
@ -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>
|
||||
Loading…
Reference in New Issue
Block a user