forked from github/dataease
fix(仪表板): 修复批量设置无法选中tab组件内的组件问题
This commit is contained in:
parent
a8cc2a14e0
commit
f77bc85c87
@ -64,7 +64,11 @@
|
||||
:style="getPointStyle(item)"
|
||||
@mousedown="handleMouseDownOnPoint(item, $event)"
|
||||
></div>
|
||||
<div class="shape-shadow" v-show="batchOptFlag" @mousedown="batchSelected"></div>
|
||||
<div
|
||||
class="shape-shadow"
|
||||
v-show="batchOptFlag && element.component !== 'DeTabs'"
|
||||
@mousedown="batchSelected"
|
||||
></div>
|
||||
<template v-if="boardMoveActive">
|
||||
<div
|
||||
v-show="!element.editing"
|
||||
@ -441,12 +445,7 @@ const handleInnerMouseDownOnShape = e => {
|
||||
if (!canvasActive.value) {
|
||||
return
|
||||
}
|
||||
if (batchOptFlag.value) {
|
||||
componentEditBarRef.value.batchOptCheckOut()
|
||||
e.stopPropagation()
|
||||
e.preventDefault()
|
||||
return
|
||||
}
|
||||
batchSelected(e)
|
||||
// ctrl or command 按下时 鼠标点击为选择需要组合的组件(取消需要组合的组件在ComposeShow组件中)
|
||||
if (isCtrlOrCmdDown.value && !areaData.value.components.includes(element)) {
|
||||
areaDataPush(element.value)
|
||||
|
Loading…
Reference in New Issue
Block a user