diff --git a/core/frontend/src/views/chart/components/valueFormatter/ValueFormatterEdit.vue b/core/frontend/src/views/chart/components/valueFormatter/ValueFormatterEdit.vue index 9035b97d9a..138a58a0b1 100644 --- a/core/frontend/src/views/chart/components/valueFormatter/ValueFormatterEdit.vue +++ b/core/frontend/src/views/chart/components/valueFormatter/ValueFormatterEdit.vue @@ -107,7 +107,7 @@ export default { methods: { init() { if (!this.formatterItem.formatterCfg) { - this.formatterItem.formatterCfg = formatterItem + this.formatterItem.formatterCfg = JSON.parse(JSON.stringify(formatterItem)) } }, getExampleValue() {