xiangpei
2024-09-18 b7d7ba71ac11b10d6cd8dedca24ffaf751dc81e1
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>