diff --git a/nezha-fronted/src/components/common/table/alert/alertMessageTable.vue b/nezha-fronted/src/components/common/table/alert/alertMessageTable.vue index cddd27a8c..477e0e14c 100644 --- a/nezha-fronted/src/components/common/table/alert/alertMessageTable.vue +++ b/nezha-fronted/src/components/common/table/alert/alertMessageTable.vue @@ -168,7 +168,7 @@ export default { label: 'ID', prop: 'id', show: true, - width: 80, + width: 160, sortable: 'custom' }, { label: this.$t('alert.rule'), diff --git a/nezha-fronted/src/components/common/table/alert/alertRuleTable.vue b/nezha-fronted/src/components/common/table/alert/alertRuleTable.vue index a96468abf..a5d476290 100644 --- a/nezha-fronted/src/components/common/table/alert/alertRuleTable.vue +++ b/nezha-fronted/src/components/common/table/alert/alertRuleTable.vue @@ -4,6 +4,7 @@ ref="dataTable" :data="tableData" :height="height" + tooltip-effect="light" border @header-dragend="dragend" @sort-change="tableDataSort" @@ -27,6 +28,7 @@ :sort-orders="['ascending', 'descending']" :sortable="item.sortable" :width="`${item.width}`" + :show-overflow-tooltip="item.prop === 'description'" class="data-column" >