Commit ed04f44c63961b7833ce5842e35d9cde5e5f8e76
1 parent
1dc01d4d
perf(external/Componse): 有优化大标题和小标题拖拽设置宽高
Showing
5 changed files
with
21 additions
and
1 deletions
... | ... | @@ -108,6 +108,11 @@ const props = defineProps({ |
108 | 108 | } |
109 | 109 | }) |
110 | 110 | |
111 | +//修改默认宽高 | |
112 | +props.chartConfig.attr.w=550 | |
113 | +props.chartConfig.attr.h=60 | |
114 | + | |
115 | + | |
111 | 116 | const { dataset, attribute } = toRefs(props.chartConfig.option) |
112 | 117 | |
113 | 118 | const { w, h } = toRefs(props.chartConfig.attr) | ... | ... |
... | ... | @@ -76,7 +76,9 @@ const props = defineProps({ |
76 | 76 | }) |
77 | 77 | |
78 | 78 | const { dataset, attribute } = toRefs(props.chartConfig.option) |
79 | - | |
79 | +//修改默认宽高 | |
80 | +props.chartConfig.attr.w=550 | |
81 | +props.chartConfig.attr.h=60 | |
80 | 82 | const { w, h } = toRefs(props.chartConfig.attr) |
81 | 83 | </script> |
82 | 84 | ... | ... |
... | ... | @@ -116,6 +116,10 @@ const props = defineProps({ |
116 | 116 | const { dataset, attribute } = toRefs(props.chartConfig.option) |
117 | 117 | |
118 | 118 | const { w, h } = toRefs(props.chartConfig.attr) |
119 | + | |
120 | +//修改默认宽高 | |
121 | +props.chartConfig.attr.w=550 | |
122 | +props.chartConfig.attr.h=60 | |
119 | 123 | </script> |
120 | 124 | |
121 | 125 | <style lang="scss" scoped> | ... | ... |