diff --git a/src/components/EchartBox.vue b/src/components/EchartBox.vue index 532308d..5d351f9 100644 --- a/src/components/EchartBox.vue +++ b/src/components/EchartBox.vue @@ -78,6 +78,13 @@ export default { echart: null }; }, + watch: { + options() { + this.$nextTick(() => { + this.initEchart(); + }); + } + }, computed: {}, created() {}, mounted() {