mirror of
https://github.com/dataease/dataease.git
synced 2026-05-21 12:45:37 +08:00
fix: MAC平台,在大屏编辑界面按shift键后,无法使用command键选择图层进行组合
This commit is contained in:
@@ -65,6 +65,12 @@ const onClick = (e, index) => {
|
||||
composeStore.setLaterIndex(null)
|
||||
}
|
||||
// ctrl or command 按下时 鼠标点击为选择需要组合的组件(取消需要组合的组件在ComposeShow组件中)
|
||||
console.log(
|
||||
'isCtrlOrCmdDown=' +
|
||||
isCtrlOrCmdDown.value +
|
||||
';all=' +
|
||||
!!(isCtrlOrCmdDown.value && !areaData.value.components.includes(componentData.value[index]))
|
||||
)
|
||||
if (isCtrlOrCmdDown.value && !areaData.value.components.includes(componentData.value[index])) {
|
||||
areaDataPush(componentData.value[index])
|
||||
if (curComponent.value && curComponent.value.id !== componentData.value[index].id) {
|
||||
|
||||
Reference in New Issue
Block a user