From 46e95edb411c5e0c4322f78d1813e1910215adc2 Mon Sep 17 00:00:00 2001 From: toesbieya <1647775459@qq.com> Date: Tue, 1 Sep 2020 10:49:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=BC=E5=9B=BE=E9=AA=8C=E8=AF=81=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E4=B8=8D=E5=86=8D=E4=BD=BF=E7=94=A8element-ui?= =?UTF-8?q?=E7=9A=84PopupManager?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue/src/globalMethod/Verify/index.js | 2 -- vue/src/globalMethod/Verify/style.scss | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/vue/src/globalMethod/Verify/index.js b/vue/src/globalMethod/Verify/index.js index 33e90aa..6902ffc 100644 --- a/vue/src/globalMethod/Verify/index.js +++ b/vue/src/globalMethod/Verify/index.js @@ -1,6 +1,5 @@ import Vue from 'vue' import Main from './main.vue' -import {PopupManager} from 'element-ui/lib/utils/popup' import {isEmpty} from "@/util" let Constructor = Vue.extend(Main) @@ -13,7 +12,6 @@ const PuzzleVerify = function ({left, top} = {}) { instance.positionLeft = position.left instance.$mount() document.body.appendChild(instance.$el) - instance.$el.style.zIndex = PopupManager.nextZIndex() instance.visible = true return new Promise((resolve, reject) => { diff --git a/vue/src/globalMethod/Verify/style.scss b/vue/src/globalMethod/Verify/style.scss index 5c50263..595265f 100644 --- a/vue/src/globalMethod/Verify/style.scss +++ b/vue/src/globalMethod/Verify/style.scss @@ -2,6 +2,7 @@ .puzzle-container { position: absolute; + z-index: 1000; box-shadow: 0 0 10px #cccccc; border: 1px solid #cccccc; background: #ffffff;