Merge pull request #3735 from dataease/pr@v1.16@fix_grid-drag

fix(仪表板): 修复开启辅助网格模式后矩阵和悬浮视图叠在一起的问题
This commit is contained in:
xuwei-fit2cloud 2022-11-14 13:40:22 +08:00 committed by GitHub
commit 9019eac938
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,7 +65,7 @@
@mousedown.stop.prevent="handleDown(handlei, $event)"
@touchstart.stop.prevent="handleTouchDown(handlei, $event)"
>
<slot :name="handlei" />
<slot :name="handlei"/>
</div>
<div
:id="componentCanvasId"
@ -78,7 +78,7 @@
class="svg-background"
:icon-class="mainSlotSvgInner"
/>
<slot />
<slot/>
</div>
</div>
</div>
@ -1934,6 +1934,7 @@ export default {
const nodes = this.$el.parentNode.childNodes //
for (const item of nodes) {
if (
item.tagName !== 'svg' &&
item.className !== undefined &&
!item.className.split(' ').includes(this.classNameActive) &&
item.getAttribute('tab-is-check') !== null &&