Browse Source

增加 数据变化更新echart

test
chenJinxu 11 months ago
parent
commit
547e640234
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      src/components/EchartBox.vue

+ 7
- 0
src/components/EchartBox.vue View File

@@ -78,6 +78,13 @@ export default {
echart: null
};
},
watch: {
options() {
this.$nextTick(() => {
this.initEchart();
});
}
},
computed: {},
created() {},
mounted() {


Loading…
Cancel
Save