mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-13 16:27:33 +00:00
fix: instance topology
This commit is contained in:
parent
1285335de9
commit
237f0e2851
@ -192,12 +192,12 @@ export const topologyStore = defineStore({
|
|||||||
},
|
},
|
||||||
async getInstanceTopology() {
|
async getInstanceTopology() {
|
||||||
const { currentService, currentDestService } = useSelectorStore();
|
const { currentService, currentDestService } = useSelectorStore();
|
||||||
const serverServiceId = currentService && currentService.id;
|
const serverServiceId = (currentService && currentService.id) || "";
|
||||||
const clientServiceId = currentDestService && currentDestService.id;
|
const clientServiceId = (currentDestService && currentDestService.id) || "";
|
||||||
|
const duration = useAppStoreWithOut().durationTime;
|
||||||
if (!(serverServiceId && clientServiceId)) {
|
if (!(serverServiceId && clientServiceId)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const duration = useAppStoreWithOut().durationTime;
|
|
||||||
const res: AxiosResponse = await graphql.query("getInstanceTopology").params({
|
const res: AxiosResponse = await graphql.query("getInstanceTopology").params({
|
||||||
clientServiceId,
|
clientServiceId,
|
||||||
serverServiceId,
|
serverServiceId,
|
||||||
|
@ -245,7 +245,6 @@ limitations under the License. -->
|
|||||||
watch(
|
watch(
|
||||||
() => [selectorStore.currentService, selectorStore.currentDestService],
|
() => [selectorStore.currentService, selectorStore.currentDestService],
|
||||||
() => {
|
() => {
|
||||||
console.log(selectorStore.currentService);
|
|
||||||
if (dashboardStore.entity !== EntityType[4].value) {
|
if (dashboardStore.entity !== EntityType[4].value) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user