Showing
4 changed files
with
8 additions
and
8 deletions
| ... | ... | @@ -180,8 +180,8 @@ const { w, h } = toRefs(props.chartConfig.attr) |
| 180 | 180 | const { dataset, fontConfig } = toRefs(props.chartConfig.option as typeof option) |
| 181 | 181 | |
| 182 | 182 | // 预览更新 |
| 183 | -useChartDataFetch(props.chartConfig, useChartEditStore, (newData: string | number) => { | |
| 184 | - dataset.value = newData as string | number | |
| 183 | +useChartDataFetch(props.chartConfig, useChartEditStore, (newData: string) => { | |
| 184 | + dataset.value = newData as string | |
| 185 | 185 | }) |
| 186 | 186 | </script> |
| 187 | 187 | ... | ... |
| ... | ... | @@ -331,8 +331,8 @@ const { w, h } = toRefs(props.chartConfig.attr) |
| 331 | 331 | const { dataset, fontConfig } = toRefs(props.chartConfig.option as typeof option) |
| 332 | 332 | |
| 333 | 333 | // 预览更新 |
| 334 | -useChartDataFetch(props.chartConfig, useChartEditStore, (newData: string | number) => { | |
| 335 | - dataset.value = newData as string | number | |
| 334 | +useChartDataFetch(props.chartConfig, useChartEditStore, (newData: string) => { | |
| 335 | + dataset.value = newData as string | |
| 336 | 336 | }) |
| 337 | 337 | </script> |
| 338 | 338 | ... | ... |
| ... | ... | @@ -315,8 +315,8 @@ const { w, h } = toRefs(props.chartConfig.attr) |
| 315 | 315 | const { dataset, fontConfig } = toRefs(props.chartConfig.option as typeof option) |
| 316 | 316 | |
| 317 | 317 | // 预览更新 |
| 318 | -useChartDataFetch(props.chartConfig, useChartEditStore, (newData: string | number) => { | |
| 319 | - dataset.value = newData as string | number | |
| 318 | +useChartDataFetch(props.chartConfig, useChartEditStore, (newData: string) => { | |
| 319 | + dataset.value = newData as string | |
| 320 | 320 | }) |
| 321 | 321 | </script> |
| 322 | 322 | ... | ... |
| ... | ... | @@ -286,8 +286,8 @@ const { w, h } = toRefs(props.chartConfig.attr) |
| 286 | 286 | const { dataset, fontConfig, unitStr, titleStr } = toRefs(props.chartConfig.option as typeof option) |
| 287 | 287 | |
| 288 | 288 | // 预览更新 |
| 289 | -useChartDataFetch(props.chartConfig, useChartEditStore, (newData: string | number) => { | |
| 290 | - dataset.value = newData as string | number | |
| 289 | +useChartDataFetch(props.chartConfig, useChartEditStore, (newData: string) => { | |
| 290 | + dataset.value = newData as string | |
| 291 | 291 | }) |
| 292 | 292 | </script> |
| 293 | 293 | ... | ... |