mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-18 16:45:24 +00:00
observe data
This commit is contained in:
parent
e4a70fb14b
commit
b3ae7a2c99
@ -95,7 +95,7 @@ limitations under the License. -->
|
||||
</el-dialog>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
import { ref } from "vue";
|
||||
import { ref, watch } from "vue";
|
||||
import { useI18n } from "vue-i18n";
|
||||
import { useNetworkProfilingStore } from "@/store/modules/network-profiling";
|
||||
import { useSelectorStore } from "@/store/modules/selectors";
|
||||
@ -209,6 +209,12 @@ async function fetchTasks() {
|
||||
}
|
||||
await getTopology();
|
||||
}
|
||||
watch(
|
||||
() => selectorStore.currentPod,
|
||||
() => {
|
||||
fetchTasks();
|
||||
}
|
||||
);
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.profile-task-list {
|
||||
|
Loading…
Reference in New Issue
Block a user