We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 226e737 commit 3d9e6c6Copy full SHA for 3d9e6c6
src/components/base.tsx
@@ -65,7 +65,8 @@ const BaseChart = defineComponent<
65
},
66
67
mounted() {
68
- const chartRef = this.$attrs.chartRef as Ref<BasePlot<any> | null>
+ const chartRef = this.$attrs
69
+ .chartRef as unknown as Ref<BasePlot<any> | null>
70
const { chart: Chart, onReady } = this.attrConfig
71
const plot = new Chart(this.$el as HTMLElement, {
72
data: this.chartData,
0 commit comments