Commit ff2b0480 by 无尘

fix: 修改层级问题

parent 90a77255
This source diff could not be displayed because it is too large. You can view the blob instead.
{
"name": "@gic-test/vue-gic-img-preview",
"description": "vue-gic-img-preview Plugin",
"version": "1.0.12",
"version": "1.0.13",
"license": "MIT",
"private": false,
"author": "fairyly",
......
......@@ -51,7 +51,7 @@ export default {
this.showFlag = that.imgShowFlag;
// 监听点击隐藏弹层
document.addEventListener('click', that.hidePanel, false)
document.addEventListener('mousedown', that.hidePanel, false)
}
}
</script>
......@@ -70,7 +70,7 @@ export default {
left: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
z-index: 5000;
z-index: 50;
display: -webkit-flex;
display: flex;
justify-content: center;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment