Skip to content

Commit 63d9901

Browse files
committed
fix: fix render error in vue 2
1 parent cb3a180 commit 63d9901

File tree

20 files changed

+20
-20
lines changed

20 files changed

+20
-20
lines changed

src/plots/bar/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export type BarChartProps = Writeable<
99

1010
const BarChart = defineComponent<BarChartProps>({
1111
name: 'BarChart',
12-
setup: (props, ctx) => {
12+
setup(props, ctx) {
1313
return () => <BaseChart chart={Bar} {...ctx.attrs} {...props} />
1414
},
1515
})

src/plots/bullet/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export type BulletChartProps = Writeable<
99

1010
const BulletChart = defineComponent<BulletChartProps>({
1111
name: 'BulletChart',
12-
setup: (props, ctx) => {
12+
setup(props, ctx) {
1313
return () => <BaseChart chart={Bullet} {...ctx.attrs} {...props} />
1414
},
1515
})

src/plots/column/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export type ColumnChartProps = Writeable<
99

1010
const ColumnChart = defineComponent<ColumnChartProps>({
1111
name: 'ColumnChart',
12-
setup: (props, ctx) => {
12+
setup(props, ctx) {
1313
return () => <BaseChart chart={Column} {...ctx.attrs} {...props} />
1414
},
1515
})

src/plots/funnel/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export type FunnelChartProps = Writeable<
99

1010
const FunnelChart = defineComponent<FunnelChartProps>({
1111
name: 'FunnelChart',
12-
setup: (props, ctx) => {
12+
setup(props, ctx) {
1313
return () => <BaseChart chart={Funnel} {...ctx.attrs} {...props} />
1414
},
1515
})

src/plots/gauge/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export type GaugeChartProps = Writeable<
99

1010
const GaugeChart = defineComponent<GaugeChartProps>({
1111
name: 'GaugeChart',
12-
setup: (props, ctx) => {
12+
setup(props, ctx) {
1313
return () => <BaseChart chart={Gauge} {...ctx.attrs} {...props} />
1414
},
1515
})

src/plots/heatmap/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export type HeatmapChartProps = Writeable<
99

1010
const HeatmapChart = defineComponent<HeatmapChartProps>({
1111
name: 'HeatmapChart',
12-
setup: (props, ctx) => {
12+
setup(props, ctx) {
1313
return () => <BaseChart chart={Heatmap} {...ctx.attrs} {...props} />
1414
},
1515
})

src/plots/histogram/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export type HistogramChartProps = Writeable<
99

1010
const HistogramChart = defineComponent<HistogramChartProps>({
1111
name: 'HistogramChart',
12-
setup: (props, ctx) => {
12+
setup(props, ctx) {
1313
return () => <BaseChart chart={Histogram} {...ctx.attrs} {...props} />
1414
},
1515
})

src/plots/line/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export type LineChartProps = Writeable<
99

1010
const LineChart = defineComponent<LineChartProps>({
1111
name: 'LineChart',
12-
setup: (props, ctx) => {
12+
setup(props, ctx) {
1313
return () => <BaseChart chart={Line} {...ctx.attrs} {...props} />
1414
},
1515
})

src/plots/liquid/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export type LiquidChartProps = Writeable<
99

1010
const LiquidChart = defineComponent<LiquidChartProps>({
1111
name: 'LiquidChart',
12-
setup: (props, ctx) => {
12+
setup(props, ctx) {
1313
return () => <BaseChart chart={Liquid} {...ctx.attrs} {...props} />
1414
},
1515
})

src/plots/pie/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export type PieChartProps = Writeable<
99

1010
const PieChart = defineComponent<PieChartProps>({
1111
name: 'PieChart',
12-
setup: (props, ctx) => {
12+
setup(props, ctx) {
1313
return () => <BaseChart chart={Pie} {...ctx.attrs} {...props} />
1414
},
1515
})

0 commit comments

Comments
 (0)