NEZ-1959 fix:在不同的时间格式下查看其他时间格式下使用过的最近时间显示范围时内容显示有误
This commit is contained in:
@@ -92,9 +92,9 @@
|
|||||||
class="date-range-history-item"
|
class="date-range-history-item"
|
||||||
@click="historyChange(item)"
|
@click="historyChange(item)"
|
||||||
>
|
>
|
||||||
{{ timeFormate(item.start) }}
|
{{ momentTz(item.start) }}
|
||||||
{{ $t("dashboard.panel.to") }}
|
{{ $t("dashboard.panel.to") }}
|
||||||
{{ timeFormate(item.end) }}
|
{{ momentTz(item.end) }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
@@ -340,8 +340,8 @@ export default {
|
|||||||
}
|
}
|
||||||
this.isCustom = true
|
this.isCustom = true
|
||||||
this.rangeHistory.unshift({
|
this.rangeHistory.unshift({
|
||||||
start: item[0],
|
start: this.momentStrToTimestamp(item[0]),
|
||||||
end: item[1]
|
end: this.momentStrToTimestamp(item[1])
|
||||||
})
|
})
|
||||||
localStorage.setItem(
|
localStorage.setItem(
|
||||||
'date-range-history' + this.sign,
|
'date-range-history' + this.sign,
|
||||||
|
|||||||
Reference in New Issue
Block a user