forked from github/dataease
refactor(仪表板): 移动端设计面板支持Tab内组件样式设计
This commit is contained in:
parent
4fb63b12fd
commit
06a58bedfd
@ -145,7 +145,7 @@ const handleInnerMouseDown = e => {
|
|||||||
e.stopPropagation()
|
e.stopPropagation()
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
}
|
}
|
||||||
if (showPosition.value.includes('popEdit')) {
|
if (showPosition.value.includes('popEdit') || dvMainStore.mobileInPc) {
|
||||||
onClick(e)
|
onClick(e)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -338,6 +338,7 @@ const initOpenHandler = newWindow => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
const deepScale = computed(() => scale.value / 100)
|
const deepScale = computed(() => scale.value / 100)
|
||||||
|
const showActive = computed(() => props.popActive || (dvMainStore.mobileInPc && props.active))
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
@ -386,7 +387,7 @@ const deepScale = computed(() => scale.value / 100)
|
|||||||
<div
|
<div
|
||||||
class="wrapper-inner-adaptor"
|
class="wrapper-inner-adaptor"
|
||||||
:style="slotStyle"
|
:style="slotStyle"
|
||||||
:class="{ 'pop-wrapper-inner': popActive, 'event-active': eventEnable }"
|
:class="{ 'pop-wrapper-inner': showActive, 'event-active': eventEnable }"
|
||||||
@mousedown="onWrapperClick"
|
@mousedown="onWrapperClick"
|
||||||
>
|
>
|
||||||
<component
|
<component
|
||||||
|
Loading…
Reference in New Issue
Block a user