src/views/screen/components/subheading.vue
@@ -88,7 +88,6 @@ } ] } myAnnular.setOption(option) }, @@ -107,6 +106,17 @@ this.isData.color ) }) }, watch: { isData: { handler(newVal, oldVal) { this.getW() this.$nextTick(() => { this.initChart(newVal.value1, newVal.value2, newVal.color); }); }, deep: true }, } } </script> @@ -138,7 +148,6 @@ .title { text-align: center; font-size: 14px; color: #dcf8ff; white-space: nowrap; overflow: hidden;