feat:词云

This commit is contained in:
junjie 2021-11-15 11:29:13 +08:00
parent 1f1496d4ac
commit 22e204a0b7

View File

@ -1507,7 +1507,7 @@ export default {
this.calcData(true) this.calcData(true)
}, },
addYaxis(e) { addYaxis(e) {
if ((this.view.type === 'map' || this.view.type === 'waterfall') && this.view.yaxis.length > 1) { if ((this.view.type === 'map' || this.view.type === 'waterfall' || this.view.type === 'word-cloud') && this.view.yaxis.length > 1) {
this.view.yaxis = [this.view.yaxis[0]] this.view.yaxis = [this.view.yaxis[0]]
} }
this.dragCheckType(this.view.yaxis, 'q') this.dragCheckType(this.view.yaxis, 'q')