forked from github/dataease
feat: S2 pivot
This commit is contained in:
parent
757f9a5c21
commit
51412b6641
@ -1946,7 +1946,7 @@ export default {
|
|||||||
addYaxis(e) {
|
addYaxis(e) {
|
||||||
this.dragCheckType(this.view.yaxis, 'q')
|
this.dragCheckType(this.view.yaxis, 'q')
|
||||||
this.dragMoveDuplicate(this.view.yaxis, e)
|
this.dragMoveDuplicate(this.view.yaxis, e)
|
||||||
if ((this.view.type === 'map' || this.view.type === 'waterfall' || this.view.type === 'word-cloud') && this.view.yaxis.length > 1) {
|
if ((this.view.type === 'map' || this.view.type === 'waterfall' || this.view.type === 'word-cloud' || this.view.type === 'table-pivot') && this.view.yaxis.length > 1) {
|
||||||
this.view.yaxis = [this.view.yaxis[0]]
|
this.view.yaxis = [this.view.yaxis[0]]
|
||||||
}
|
}
|
||||||
this.calcData(true)
|
this.calcData(true)
|
||||||
|
Loading…
Reference in New Issue
Block a user