forked from github/dataease
fix: echarts散点图类别轴拖入类型错误
This commit is contained in:
parent
fea6462197
commit
87cf205f24
@ -3211,12 +3211,10 @@ export default {
|
||||
this.dragCheckType(this.view.xaxis, 'd')
|
||||
}
|
||||
this.dragMoveDuplicate(this.view.xaxis, e)
|
||||
if (this.view.type === 'scatter' && this.view.render === 'antv') {
|
||||
if (this.view.xaxis[0] && this.view.xaxis[0].groupType === 'q') {
|
||||
this.view.xaxis = [this.view.xaxis[0]]
|
||||
} else {
|
||||
this.dragCheckType(this.view.xaxis, 'd')
|
||||
}
|
||||
if (this.view.type === 'scatter' && this.view.render === 'antv' && this.view.xaxis[0] && this.view.xaxis[0].groupType === 'q') {
|
||||
this.view.xaxis = [this.view.xaxis[0]]
|
||||
} else {
|
||||
this.dragCheckType(this.view.xaxis, 'd')
|
||||
}
|
||||
if ((this.view.type === 'map' || this.view.type === 'word-cloud' || this.view.type === 'label') && this.view.xaxis.length > 1) {
|
||||
this.view.xaxis = [this.view.xaxis[0]]
|
||||
|
Loading…
Reference in New Issue
Block a user