mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-14 09:00:50 +00:00
update
This commit is contained in:
parent
27dd6d2418
commit
2ac0e6d50d
@ -67,8 +67,18 @@ const state = reactive<Recordable>({
|
|||||||
endpoint: "",
|
endpoint: "",
|
||||||
service: "",
|
service: "",
|
||||||
});
|
});
|
||||||
|
if (filters.id) {
|
||||||
init();
|
init();
|
||||||
|
} else {
|
||||||
|
state.service = selectorStore.currentService.id;
|
||||||
|
if (dashboardStore.entity === EntityType[2].value) {
|
||||||
|
state.instance = selectorStore.currentPod.id;
|
||||||
|
}
|
||||||
|
if (dashboardStore.entity === EntityType[3].value) {
|
||||||
|
state.endpoint = selectorStore.currentPod.id;
|
||||||
|
}
|
||||||
|
queryTraces();
|
||||||
|
}
|
||||||
async function init() {
|
async function init() {
|
||||||
if (dashboardStore.entity === EntityType[1].value) {
|
if (dashboardStore.entity === EntityType[1].value) {
|
||||||
await getService();
|
await getService();
|
||||||
|
Loading…
Reference in New Issue
Block a user