拼图验证组件不再使用element-ui的PopupManager

master
toesbieya 6 years ago
parent 08c9a224b7
commit 46e95edb41
  1. 2
      vue/src/globalMethod/Verify/index.js
  2. 1
      vue/src/globalMethod/Verify/style.scss

@ -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) => {

@ -2,6 +2,7 @@
.puzzle-container {
position: absolute;
z-index: 1000;
box-shadow: 0 0 10px #cccccc;
border: 1px solid #cccccc;
background: #ffffff;

Loading…
Cancel
Save