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 descending = this.operations.descending
|
||||||
const params = {
|
const params = {
|
||||||
logql: this.chartInfo.elements.map(item => item.expression),
|
logql: this.chartInfo.elements.map(item => item.expression),
|
||||||
start: this.$stringTimeParseToUnix(this.filterTime[0]),
|
start: this.momentStrToTimestamp(this.filterTime[0]),
|
||||||
end: this.$stringTimeParseToUnix(this.filterTime[1]),
|
end: this.momentStrToTimestamp(this.filterTime[1]),
|
||||||
direction: descending ? 'backward' : 'forward',
|
direction: descending ? 'backward' : 'forward',
|
||||||
limit
|
limit
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -103,8 +103,8 @@ export default {
|
|||||||
exportLog ({ limit, descending }) {
|
exportLog ({ limit, descending }) {
|
||||||
const params = {
|
const params = {
|
||||||
logql: this.expressions,
|
logql: this.expressions,
|
||||||
start: this.$stringTimeParseToUnix(bus.formateTimeToTime(this.filterTime[0])),
|
start: this.momentStrToTimestamp(this.filterTime[0]),
|
||||||
end: this.$stringTimeParseToUnix(bus.formateTimeToTime(this.filterTime[1])),
|
end: this.momentStrToTimestamp(this.filterTime[1]),
|
||||||
direction: descending ? 'backward' : 'forward',
|
direction: descending ? 'backward' : 'forward',
|
||||||
limit
|
limit
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3842,8 +3842,8 @@ export default {
|
|||||||
exportLog ({ limit, descending }) {
|
exportLog ({ limit, descending }) {
|
||||||
const params = {
|
const params = {
|
||||||
logql: this.expressions,
|
logql: this.expressions,
|
||||||
start: this.$stringTimeParseToUnix(bus.formateTimeToTime(this.filterTime[0])),
|
start: this.momentStrToTimestamp(this.filterTime[0]),
|
||||||
end: this.$stringTimeParseToUnix(bus.formateTimeToTime(this.filterTime[1])),
|
end: this.momentStrToTimestamp(this.filterTime[1]),
|
||||||
direction: descending ? 'backward' : 'forward',
|
direction: descending ? 'backward' : 'forward',
|
||||||
limit
|
limit
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user