Compare commits

...

2 Commits

Author SHA1 Message Date
wuxw
c42680bfe8 v1.9 优化导入详情鼠标放上去不显示错误问题 2025-08-27 10:01:24 +08:00
wuxw
f0891c464b v1.9 登陆错误信息提示 2025-08-26 17:40:51 +08:00
2 changed files with 16 additions and 4 deletions

View File

@ -11,7 +11,7 @@ export function deleteFee(data) {
if (res.code === 0) {
resolve(res)
} else {
reject(new Error(res.msg || '删除费用失败'))
reject(res.msg || '删除费用失败')
}
}).catch(error => {
reject(error)

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>