mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-14 09:00:50 +00:00
fix
This commit is contained in:
parent
716a81e711
commit
f494b8a3b9
@ -95,7 +95,7 @@ onMounted(async () => {
|
|||||||
) {
|
) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const series = props.option.series;
|
const series = (window as any).structuredClone(props.option.series);
|
||||||
for (const temp of series) {
|
for (const temp of series) {
|
||||||
if (temp.markArea) {
|
if (temp.markArea) {
|
||||||
delete temp.markArea;
|
delete temp.markArea;
|
||||||
@ -105,6 +105,9 @@ onMounted(async () => {
|
|||||||
...props.option,
|
...props.option,
|
||||||
series,
|
series,
|
||||||
};
|
};
|
||||||
|
if (JSON.stringify(options) === JSON.stringify(props.option)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
setOptions(options);
|
setOptions(options);
|
||||||
},
|
},
|
||||||
true
|
true
|
||||||
@ -149,7 +152,7 @@ watch(
|
|||||||
],
|
],
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
const series = props.option.series;
|
const series = (window as any).structuredClone(props.option.series);
|
||||||
for (const [key, temp] of series.entries()) {
|
for (const [key, temp] of series.entries()) {
|
||||||
if (key === 0) {
|
if (key === 0) {
|
||||||
temp.markArea = markArea;
|
temp.markArea = markArea;
|
||||||
@ -159,6 +162,9 @@ watch(
|
|||||||
...props.option,
|
...props.option,
|
||||||
series,
|
series,
|
||||||
};
|
};
|
||||||
|
if (JSON.stringify(options) === JSON.stringify(props.option)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
setOptions(options);
|
setOptions(options);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user