Unverified 提交 8d973d9b authored 作者: Junjun's avatar Junjun 提交者: GitHub

Merge pull request #1748 from dataease/pr@dev@feat_S2_pivot

feat: S2 pivot
...@@ -1946,7 +1946,7 @@ export default { ...@@ -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)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论