mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 13:32:18 +08:00
refactor(仪表板、数据大屏): 地图点击激活后允许缩放内部大小
This commit is contained in:
@@ -163,8 +163,10 @@ const handleInnerMouseDown = e => {
|
||||
e.stopPropagation()
|
||||
e.preventDefault()
|
||||
}
|
||||
if (showPosition.value.includes('popEdit') || dvMainStore.mobileInPc) {
|
||||
if (['popEdit', 'preview'].includes(showPosition.value) || dvMainStore.mobileInPc) {
|
||||
onClick(e)
|
||||
e.stopPropagation()
|
||||
e.preventDefault()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -438,6 +440,7 @@ const showActive = computed(() => props.popActive || (dvMainStore.mobileInPc &&
|
||||
:is-edit="false"
|
||||
:suffix-id="suffixId"
|
||||
:font-family="fontFamily"
|
||||
:active="active"
|
||||
@onPointClick="onPointClick"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
<script lang="tsx" setup></script>
|
||||
|
||||
<template>
|
||||
<div class="scroll-shadow-content">tet</div>
|
||||
</template>
|
||||
|
||||
<style lang="less" scoped>
|
||||
.scroll-shadow-content {
|
||||
z-index: 1;
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background-color: #ece7e7;
|
||||
opacity: 0.5;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user