diff --git a/core/frontend/src/views/chart/view/ChartEdit.vue b/core/frontend/src/views/chart/view/ChartEdit.vue index a78498f7d4..4141ffed15 100644 --- a/core/frontend/src/views/chart/view/ChartEdit.vue +++ b/core/frontend/src/views/chart/view/ChartEdit.vue @@ -3715,7 +3715,7 @@ export default { this.showValueFormatter = false }, saveValueFormatter() { - const formatterItem = _.cloneDeep(this.valueFormatterItem) + const formatterItem = JSON.parse(JSON.stringify(this.valueFormatterItem)) const formatterCfg = formatterItem.formatterCfg const ele = formatterCfg.decimalCount if (ele === undefined || ele.toString().indexOf('.') > -1 || parseInt(ele).toString() === 'NaN' || parseInt(ele) < 0 || parseInt(ele) > 10) {