mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-18 14:05:25 +00:00
added minTraceDuration and maxTraceDuration to app.ts
This commit is contained in:
parent
db9d6ddfe5
commit
f5b98fea30
@ -25,6 +25,8 @@ import { TimeType } from "@/constants/data";
|
||||
/*global Nullable*/
|
||||
interface AppState {
|
||||
durationRow: any;
|
||||
minTraceDuration: string;
|
||||
maxTraceDuration: string;
|
||||
utc: string;
|
||||
utcHour: number;
|
||||
utcMin: number;
|
||||
@ -44,6 +46,8 @@ export const appStore = defineStore({
|
||||
step: TimeType.MINUTE_TIME,
|
||||
},
|
||||
utc: "",
|
||||
minTraceDuration: "",
|
||||
maxTraceDuration: "",
|
||||
utcHour: 0,
|
||||
utcMin: 0,
|
||||
eventStack: [],
|
||||
@ -108,6 +112,12 @@ export const appStore = defineStore({
|
||||
},
|
||||
},
|
||||
actions: {
|
||||
setMinTraceDuration(data:string){
|
||||
this.minTraceDuration = data
|
||||
},
|
||||
setMaxTraceDuration(data:string){
|
||||
this.maxTraceDuration = data
|
||||
},
|
||||
setDuration(data: Duration): void {
|
||||
this.durationRow = data;
|
||||
if ((window as any).axiosCancel.length !== 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user