NEZ-3107 fix:Messages页面,查询All time,显示不正确

This commit is contained in:
zhangyu
2023-08-23 09:57:52 +08:00
parent 4e52bcb686
commit 1507c00d53
2 changed files with 5 additions and 2 deletions

View File

@@ -27,8 +27,8 @@
@mouseenter="labelHover(item, 'other', true, false, $event)"
@mouseleave="labelHover(item, 'other', false, false,)"
>
<div class="detail-row-info" :title="getRemoteText(item)">
<div class="asset-manageIp" :title="getRemoteText(item)">
<div class="detail-row-info">
<div class="asset-manageIp">
<el-tooltip effect="light" placement="right">
<div slot="content">
{{$t(getStatusText(item.status))}}

View File

@@ -564,6 +564,9 @@ export default {
this.$set(this.searchTime, 2, val + 'd')
} else {
this.isCustom = true
if (!time[0]) {
this.isCustom = false
}
this.$set(this.searchTime, 0, time[0])
this.$set(this.searchTime, 1, time[1])
}