mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2026-06-04 15:58:35 +00:00
init test of tracedetailTools
This commit is contained in:
@@ -29,6 +29,8 @@ interface TraceState {
|
||||
instances: Instance[];
|
||||
endpoints: Endpoint[];
|
||||
traceList: Trace[];
|
||||
displayMode: string;
|
||||
currentView: string;
|
||||
traceTotal: number;
|
||||
traceSpans: Span[];
|
||||
currentTrace: Trace | any;
|
||||
@@ -48,6 +50,8 @@ export const traceStore = defineStore({
|
||||
services: [{ value: "0", label: "All" }],
|
||||
instances: [{ value: "0", label: "All" }],
|
||||
endpoints: [{ value: "0", label: "All" }],
|
||||
displayMode: "Table",
|
||||
currentView: "traceList",
|
||||
traceList: [],
|
||||
traceSpans: [],
|
||||
traceTotal: 0,
|
||||
@@ -67,6 +71,9 @@ export const traceStore = defineStore({
|
||||
setTraceCondition(data: any) {
|
||||
this.condition = { ...this.condition, ...data };
|
||||
},
|
||||
setDisplayMode(data:string){
|
||||
this.displayMode = data
|
||||
},
|
||||
setCurrentTrace(trace: Trace) {
|
||||
this.currentTrace = trace;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user