fix: 修复操作日志 response 数据展示过长问题

This commit is contained in:
@changcode
2021-06-23 16:22:05 +08:00
parent 0e3a16397d
commit aa31c61b5e

View File

@@ -28,6 +28,7 @@
:sort-orders="['ascending', 'descending']" :sort-orders="['ascending', 'descending']"
:width="`${item.width}`" :width="`${item.width}`"
class="data-column" class="data-column"
:show-overflow-tooltip="item.ShowOverflowTooltip"
> >
<template slot="header"> <template slot="header">
<span class="data-column__span">{{item.label}}</span> <span class="data-column__span">{{item.label}}</span>
@@ -106,12 +107,14 @@ export default {
{ {
label: this.$t('config.operationlog.params'), label: this.$t('config.operationlog.params'),
prop: 'params', prop: 'params',
show: false show: false,
ShowOverflowTooltip: true
}, },
{ {
label: this.$t('config.operationlog.response'), label: this.$t('config.operationlog.response'),
prop: 'response', prop: 'response',
show: false show: false,
ShowOverflowTooltip: true
} }
] ]
} }