mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-10-14 20:01:28 +00:00
feat: update dashboard tool
This commit is contained in:
@@ -77,7 +77,7 @@ export const selectorStore = defineStore({
|
||||
duration: this.durationTime,
|
||||
});
|
||||
if (!res.data.errors) {
|
||||
this.instances = res.data.data.instances || [];
|
||||
this.instances = res.data.data.pods || [];
|
||||
this.pods = this.instances;
|
||||
this.currentPod = this.pods.length ? this.pods[0].value : "";
|
||||
}
|
||||
@@ -96,7 +96,7 @@ export const selectorStore = defineStore({
|
||||
keyword: params.keyword,
|
||||
});
|
||||
if (!res.data.errors) {
|
||||
this.endpoints = res.data.data.endpoints || [];
|
||||
this.endpoints = res.data.data.pods || [];
|
||||
this.pods = this.endpoints;
|
||||
this.currentPod = this.pods.length ? this.pods[0].value : "";
|
||||
}
|
||||
|
Reference in New Issue
Block a user