fuliqi
2024-09-18 4c03db2f0d6b4320e670b770f4c1e252809303a3
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>