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