xiabin
This commit is contained in:
		
							parent
							
								
									33956d49cb
								
							
						
					
					
						commit
						07dbd6398d
					
				| @ -88,7 +88,6 @@ export default { | |||||||
|         Object.assign(option, cloneDeep(props.option)); |         Object.assign(option, cloneDeep(props.option)); | ||||||
|       } else { |       } else { | ||||||
|         Object.assign(option, cloneDeep(props.option)); |         Object.assign(option, cloneDeep(props.option)); | ||||||
|       } |  | ||||||
|         let typeArr = Array.from(new Set(props.chartData.map((item) => item.type))); |         let typeArr = Array.from(new Set(props.chartData.map((item) => item.type))); | ||||||
|         let xAxisData = Array.from(new Set(props.chartData.map((item) => item.name))); |         let xAxisData = Array.from(new Set(props.chartData.map((item) => item.name))); | ||||||
|         let seriesData = []; |         let seriesData = []; | ||||||
| @ -120,6 +119,7 @@ export default { | |||||||
|         } else { |         } else { | ||||||
|           option.xAxis.data = xAxisData; |           option.xAxis.data = xAxisData; | ||||||
|         } |         } | ||||||
|  |       } | ||||||
|       console.log(option); |       console.log(option); | ||||||
|       setOptions(option); |       setOptions(option); | ||||||
|       startAutoPlay({ |       startAutoPlay({ | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user