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;
|
||||
}
|
||||
const series = props.option.series;
|
||||
const series = (window as any).structuredClone(props.option.series);
|
||||
for (const temp of series) {
|
||||
if (temp.markArea) {
|
||||
delete temp.markArea;
|
||||
@ -105,6 +105,9 @@ onMounted(async () => {
|
||||
...props.option,
|
||||
series,
|
||||
};
|
||||
if (JSON.stringify(options) === JSON.stringify(props.option)) {
|
||||
return;
|
||||
}
|
||||
setOptions(options);
|
||||
},
|
||||
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()) {
|
||||
if (key === 0) {
|
||||
temp.markArea = markArea;
|
||||
@ -159,6 +162,9 @@ watch(
|
||||
...props.option,
|
||||
series,
|
||||
};
|
||||
if (JSON.stringify(options) === JSON.stringify(props.option)) {
|
||||
return;
|
||||
}
|
||||
setOptions(options);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user