fix: 解决图表高度问题
This commit is contained in:
		
							parent
							
								
									2ffa1abbce
								
							
						
					
					
						commit
						164e98dad2
					
				| 
						 | 
					@ -19,7 +19,7 @@ export default {
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    height: {
 | 
					    height: {
 | 
				
			||||||
      type: Number,
 | 
					      type: Number,
 | 
				
			||||||
      default: 0
 | 
					      default: null
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  data() {
 | 
					  data() {
 | 
				
			||||||
| 
						 | 
					@ -83,6 +83,6 @@ export default {
 | 
				
			||||||
</script>
 | 
					</script>
 | 
				
			||||||
<style lang="less" scoped>
 | 
					<style lang="less" scoped>
 | 
				
			||||||
.custom-chart {
 | 
					.custom-chart {
 | 
				
			||||||
  height: 100% !important;
 | 
					  height: 100%;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
</style>
 | 
					</style>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user