refactor: 堆叠项不允许指标拖入

This commit is contained in:
junjie 2021-08-03 17:33:05 +08:00
parent 80bf45de43
commit 8bee21e36a

View File

@ -1352,7 +1352,7 @@ export default {
return resultNode
},
addStack(e) {
this.dragCheckType(this.dimensionData, 'd')
this.dragCheckType(this.view.extStack, 'd')
if (this.view.extStack && this.view.extStack.length > 1) {
this.view.extStack = [this.view.extStack[0]]
}