mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-23 21:36:37 +08:00
Compare commits
2 Commits
1f9802a2e8
...
c42680bfe8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c42680bfe8 | ||
|
|
f0891c464b |
@ -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)
|
||||
|
||||
@ -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