mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-10 13:25:15 +00:00
fix: watch layout in tab
This commit is contained in:
parent
3a9848a30c
commit
d41ace3580
@ -127,11 +127,8 @@ document.body.addEventListener("click", handleClick, false);
|
|||||||
watch(
|
watch(
|
||||||
() =>
|
() =>
|
||||||
dashboardStore.layout[props.data.i].children[activeTabIndex.value].children,
|
dashboardStore.layout[props.data.i].children[activeTabIndex.value].children,
|
||||||
() => {
|
(data) => {
|
||||||
state.layout =
|
state.layout = data;
|
||||||
dashboardStore.layout[props.data.i].children[
|
|
||||||
activeTabIndex.value
|
|
||||||
].children;
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user