mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-17 02:35:24 +00:00
refactor: update logs
This commit is contained in:
parent
7a29c7527d
commit
79908b5cbe
@ -158,6 +158,10 @@ async function init() {
|
|||||||
state.endpoint = { value: "0", label: "All" };
|
state.endpoint = { value: "0", label: "All" };
|
||||||
state.service = { value: "0", label: "All" };
|
state.service = { value: "0", label: "All" };
|
||||||
searchLogs();
|
searchLogs();
|
||||||
|
fetchSelectors();
|
||||||
|
}
|
||||||
|
|
||||||
|
function fetchSelectors() {
|
||||||
if (dashboardStore.entity === EntityType[1].value) {
|
if (dashboardStore.entity === EntityType[1].value) {
|
||||||
getServices();
|
getServices();
|
||||||
return;
|
return;
|
||||||
@ -281,7 +285,15 @@ function removeExcludeContent(index: number) {
|
|||||||
watch(
|
watch(
|
||||||
() => selectorStore.currentService,
|
() => selectorStore.currentService,
|
||||||
() => {
|
() => {
|
||||||
if (dashboardStore.entity !== EntityType[0].value) {
|
if (dashboardStore.entity === EntityType[0].value) {
|
||||||
|
init();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
);
|
||||||
|
watch(
|
||||||
|
() => [selectorStore.currentPod],
|
||||||
|
() => {
|
||||||
|
if (dashboardStore.entity === EntityType[0].value) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
init();
|
init();
|
||||||
|
Loading…
Reference in New Issue
Block a user