fix: 处理层级右键拖拽的问题

This commit is contained in:
奔跑的面条
2022-08-15 20:11:04 +08:00
parent f70576bbdc
commit 0d3585503b
3 changed files with 6 additions and 7 deletions
@@ -123,8 +123,6 @@ const hover = computed(() => {
// 组点击事件
const groupMousedownHandle = (e: MouseEvent) => {
e.preventDefault()
e.stopPropagation()
onClickOutSide()
// 若此时按下了 CTRL, 表示多选
const id = props.componentGroupData.id
@@ -60,7 +60,7 @@ $textSize: 10px;
position: relative;
height: $centerHeight;
width: 90%;
margin: 10px 5%;
margin: 5px 5%;
margin-bottom: 5px;
border-radius: 5px;
cursor: pointer;