This commit is contained in:
Fine 2022-11-22 22:12:43 +08:00
parent 2230d05508
commit 2552c359e2

View File

@ -138,10 +138,10 @@ async function init() {
if (!filters.id) {
state.service = selectorStore.currentService.id;
if (dashboardStore.entity === EntityType[2].value) {
state.instance = selectorStore.currentPod.id;
state.endpoint = selectorStore.currentPod.id;
}
if (dashboardStore.entity === EntityType[3].value) {
state.endpoint = selectorStore.currentPod.id;
state.instance = selectorStore.currentPod.id;
}
await queryTraces();
return;