Issue #132: Done.

This commit is contained in:
chiayin
2023-10-06 12:31:26 +08:00
parent 6bd92dfef3
commit 6ffd676182

View File

@@ -132,6 +132,12 @@ export default {
};
}
},
watch: {
selectArea: function(newValue) {
let roundValue = Math.round(newValue[1].toFixed());
if(newValue[1] !== roundValue) this.selectArea[1] = roundValue;
}
},
methods: {
/**
* Set bar chart Options