mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 05:22:13 +08:00
refactor: 视图样式配置项调整
This commit is contained in:
@@ -152,7 +152,7 @@ export default {
|
||||
initOptions() {
|
||||
const type = this.chart.type
|
||||
if (type) {
|
||||
if (type.includes('horizontal')) {
|
||||
if (type.includes('horizontal') || type === 'funnel') {
|
||||
this.labelPosition = this.labelPositionH
|
||||
} else if (type.includes('pie')) {
|
||||
this.labelPosition = this.labelPositionPie
|
||||
|
||||
@@ -130,7 +130,7 @@ export default {
|
||||
initOptions() {
|
||||
const type = this.chart.type
|
||||
if (type) {
|
||||
if (type.includes('horizontal')) {
|
||||
if (type.includes('horizontal') || type === 'funnel') {
|
||||
this.labelPosition = this.labelPositionH
|
||||
} else if (type.includes('pie')) {
|
||||
this.labelPosition = this.labelPositionPie
|
||||
|
||||
Reference in New Issue
Block a user