fix: 解决图表高度问题

This commit is contained in:
Xu Zhimeng 2023-09-26 15:41:42 +08:00
parent 2ffa1abbce
commit 164e98dad2

View File

@ -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>