@@ -32,6 +32,12 @@ export default {
this.init();
}
},
+ total(newVal) {
+ if (newVal) {
+ this.myChart.clear();
+ this.init();
+ }
+ },
methods: {
init() {