mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-20 16:52:50 +00:00
fix: 修复在某些情况下无法打开微应用的问题
This commit is contained in:
parent
718ed8953f
commit
a6385b699e
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div v-transfer-dom :data-transfer="true">
|
<div v-transfer-dom :data-transfer="true">
|
||||||
<div :class="className">
|
<div :class="className" :style="wrapStyle">
|
||||||
<transition :name="transitions[0]">
|
<transition :name="transitions[0]">
|
||||||
<div v-if="shouldRenderInDom" v-show="open" class="micro-modal-mask" :style="maskStyle"></div>
|
<div v-if="shouldRenderInDom" v-show="open" class="micro-modal-mask" :style="maskStyle"></div>
|
||||||
</transition>
|
</transition>
|
||||||
@ -114,6 +114,9 @@ export default {
|
|||||||
}
|
}
|
||||||
return styleObject;
|
return styleObject;
|
||||||
},
|
},
|
||||||
|
wrapStyle({zIndex}) {
|
||||||
|
return {zIndex}
|
||||||
|
},
|
||||||
maskStyle({zIndex}) {
|
maskStyle({zIndex}) {
|
||||||
return {zIndex}
|
return {zIndex}
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user