Merge pull request #2601 from dataease/pr@dev@fix_tree_filter_mult_field

fix(仪表板): 树形过滤器不能添加多字段
This commit is contained in:
fit2cloud-chenyw 2022-07-06 16:14:58 +08:00 committed by GitHub
commit 52997b9fb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -675,6 +675,7 @@ export default {
onMove(e, originalEvent) {
this.showTips = false
this.moveId = e.draggedContext.element.id
if (this.isTree) return true
const tabelId = e.draggedContext.element.tableId
const prohibit = this.currentElement.options.attrs.dragItems.some(item => item.tableId === tabelId)
if (prohibit) {