Merge branch 'dev-3.8' of https://git.mesalab.cn/nezha/nezha-fronted into dev-3.9

This commit is contained in:
zhangyu
2023-11-01 16:14:10 +08:00
3 changed files with 6 additions and 6 deletions

View File

@@ -240,8 +240,8 @@ export default {
const descending = this.operations.descending
const params = {
logql: this.chartInfo.elements.map(item => item.expression),
start: this.$stringTimeParseToUnix(this.filterTime[0]),
end: this.$stringTimeParseToUnix(this.filterTime[1]),
start: this.momentStrToTimestamp(this.filterTime[0]),
end: this.momentStrToTimestamp(this.filterTime[1]),
direction: descending ? 'backward' : 'forward',
limit
}

View File

@@ -103,8 +103,8 @@ export default {
exportLog ({ limit, descending }) {
const params = {
logql: this.expressions,
start: this.$stringTimeParseToUnix(bus.formateTimeToTime(this.filterTime[0])),
end: this.$stringTimeParseToUnix(bus.formateTimeToTime(this.filterTime[1])),
start: this.momentStrToTimestamp(this.filterTime[0]),
end: this.momentStrToTimestamp(this.filterTime[1]),
direction: descending ? 'backward' : 'forward',
limit
}

View File

@@ -3842,8 +3842,8 @@ export default {
exportLog ({ limit, descending }) {
const params = {
logql: this.expressions,
start: this.$stringTimeParseToUnix(bus.formateTimeToTime(this.filterTime[0])),
end: this.$stringTimeParseToUnix(bus.formateTimeToTime(this.filterTime[1])),
start: this.momentStrToTimestamp(this.filterTime[0]),
end: this.momentStrToTimestamp(this.filterTime[1]),
direction: descending ? 'backward' : 'forward',
limit
}