提交 9b6312b2 authored 作者: taojinlong's avatar taojinlong

Merge branch 'dev' of github.com:dataease/dataease into dev

...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
@mouseenter="enter" @mouseenter="enter"
@mouseleave="leave" @mouseleave="leave"
> >
<edit-bar v-if="active||linkageSettingStatus" :active-model="'edit'" :element="element" @showViewDetails="showViewDetails" /> <edit-bar style="transform: translateZ(10px)" v-if="active||linkageSettingStatus" :active-model="'edit'" :element="element" @showViewDetails="showViewDetails" />
<div <div
v-for="(handlei, indexi) in actualHandles" v-for="(handlei, indexi) in actualHandles"
:key="indexi" :key="indexi"
...@@ -1566,6 +1566,7 @@ export default { ...@@ -1566,6 +1566,7 @@ export default {
.vdr { .vdr {
touch-action: none; touch-action: none;
position: absolute; position: absolute;
transform-style:preserve-3d;
border: 1px border: 1px
} }
......
...@@ -3,7 +3,12 @@ ...@@ -3,7 +3,12 @@
v-if="showDrag" v-if="showDrag"
id="editor" id="editor"
class="editor" class="editor"
:class="{ edit: isEdit }" :class="[
{
['edit']: isEdit ,
['parent_transform']:!chartDetailsVisible
}
]"
:style="customStyle" :style="customStyle"
@mousedown="handleMouseDown" @mousedown="handleMouseDown"
> >
...@@ -167,6 +172,7 @@ export default { ...@@ -167,6 +172,7 @@ export default {
props: { props: {
isEdit: { isEdit: {
type: Boolean, type: Boolean,
require: false,
default: true default: true
}, },
...@@ -637,11 +643,16 @@ export default { ...@@ -637,11 +643,16 @@ export default {
/*background: #fff;*/ /*background: #fff;*/
margin: auto; margin: auto;
background-size:100% 100% !important; background-size:100% 100% !important;
/*transform-style:preserve-3d;*/
.lock { .lock {
opacity: .5; opacity: .5;
} }
} }
.parent_transform {
//transform transform 会使z-index 失效;为了使编辑仪表板时 按钮一直在上面 采用transform-style 的方式
// transform-style 会导致 dialog 遮罩有问题 此处暂时用这个样式做控制
transform-style:preserve-3d;
}
.edit { .edit {
outline: 1px solid gainsboro; outline: 1px solid gainsboro;
.component { .component {
......
...@@ -243,7 +243,7 @@ const data = { ...@@ -243,7 +243,7 @@ const data = {
item.linkageFilters.splice(0, item.linkageFilters.length) item.linkageFilters.splice(0, item.linkageFilters.length)
} }
}) })
state.styleChangeTimes++ // state.styleChangeTimes++
} }
}, },
modules: { modules: {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论