src/views/screen/components/subheading.vue
@@ -107,6 +107,18 @@ this.isData.color ) }) }, watch: { isData(){ this.getW() this.$nextTick(() => { this.initChart( this.isData.value1, this.isData.value2, this.isData.color ) }) } } } </script>