mirror of
https://github.com/dataease/dataease.git
synced 2026-05-23 22:08:34 +08:00
fix: 仪表板样式优化,修复仪表板公共颜色不显示问题
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
width="400"
|
||||
trigger="click"
|
||||
>
|
||||
<color-selector :source-type="sourceType" :chart="chart" @onColorChange="onColorChange" />
|
||||
<color-selector :chart="chart" :property-inner="propertyInner" @onColorChange="onColorChange" />
|
||||
<el-button slot="reference" size="mini" class="shape-item">{{ $t('chart.color') }}<i class="el-icon-setting el-icon--right" /></el-button>
|
||||
</el-popover>
|
||||
</div>
|
||||
@@ -29,6 +29,14 @@ export default {
|
||||
required: false
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
propertyInner: [
|
||||
'value',
|
||||
'alpha'
|
||||
]
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
onColorChange(colorForm) {
|
||||
this.$emit('onColorChange', colorForm)
|
||||
|
||||
Reference in New Issue
Block a user