fix: 修复图表高度问题

This commit is contained in:
Xu Zhimeng 2023-09-26 15:15:09 +08:00
parent dc4780ea73
commit f1948e7b3e

View File

@ -19,7 +19,7 @@ export default {
},
height: {
type: Number,
default: 0
default: null
}
},
data() {
@ -83,6 +83,6 @@ export default {
</script>
<style lang="less" scoped>
.custom-chart {
// height: 100% !important;
height: 100%;
}
</style>