Merge branch 'dev-3.8' of https://git.mesalab.cn/nezha/nezha-fronted into dev-3.9
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user