forked from github/dataease
fix(仪表板): 修复开启辅助网格模式后矩阵和悬浮视图叠在一起的问题
This commit is contained in:
parent
3df8a9f8e3
commit
29f43af992
@ -64,7 +64,7 @@
|
|||||||
@mousedown.stop.prevent="handleDown(handlei, $event)"
|
@mousedown.stop.prevent="handleDown(handlei, $event)"
|
||||||
@touchstart.stop.prevent="handleTouchDown(handlei, $event)"
|
@touchstart.stop.prevent="handleTouchDown(handlei, $event)"
|
||||||
>
|
>
|
||||||
<slot :name="handlei" />
|
<slot :name="handlei"/>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
:id="componentCanvasId"
|
:id="componentCanvasId"
|
||||||
@ -77,7 +77,7 @@
|
|||||||
class="svg-background"
|
class="svg-background"
|
||||||
:icon-class="mainSlotSvgInner"
|
:icon-class="mainSlotSvgInner"
|
||||||
/>
|
/>
|
||||||
<slot />
|
<slot/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -1929,6 +1929,7 @@ export default {
|
|||||||
const nodes = this.$el.parentNode.childNodes // 获取当前父节点下所有子节点
|
const nodes = this.$el.parentNode.childNodes // 获取当前父节点下所有子节点
|
||||||
for (const item of nodes) {
|
for (const item of nodes) {
|
||||||
if (
|
if (
|
||||||
|
item.tagName !== 'svg' &&
|
||||||
item.className !== undefined &&
|
item.className !== undefined &&
|
||||||
!item.className.split(' ').includes(this.classNameActive) &&
|
!item.className.split(' ').includes(this.classNameActive) &&
|
||||||
item.getAttribute('tab-is-check') !== null &&
|
item.getAttribute('tab-is-check') !== null &&
|
||||||
|
Loading…
Reference in New Issue
Block a user