mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-10-14 11:21:29 +00:00
fix: update metrics
This commit is contained in:
@@ -41,8 +41,11 @@ onMounted(() => {
|
||||
|
||||
watch(
|
||||
() => props.option,
|
||||
(opt) => {
|
||||
setOptions(opt);
|
||||
(newVal, oldVal) => {
|
||||
if (JSON.stringify(newVal) === JSON.stringify(oldVal)) {
|
||||
return;
|
||||
}
|
||||
setOptions(newVal);
|
||||
}
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user