no message
Former-commit-id: 9e2e0eae8fab49b26f156432f64142c516abe933 Former-commit-id: c751720ad4108bd14c2911084382242a71f7b688 Former-commit-id: 2348febc862fbb26f215078d5d00bfe44f550c49
This commit is contained in:
20
src/components/charts/G2/mixins/props/d2.js
Normal file
20
src/components/charts/G2/mixins/props/d2.js
Normal file
@@ -0,0 +1,20 @@
|
||||
export default {
|
||||
// 图表数据 此 data 非 官方文档中的 data
|
||||
data: {
|
||||
type: Array,
|
||||
required: false,
|
||||
default: () => []
|
||||
},
|
||||
// 高度 开启自动填充父元素 (非G2自带)
|
||||
autoHeight: {
|
||||
type: Boolean,
|
||||
required: false,
|
||||
default: false
|
||||
},
|
||||
// 在组件 mounted 后立即初始化图表 (非G2自带)
|
||||
autoInit: {
|
||||
type: Boolean,
|
||||
required: false,
|
||||
default: true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user