mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[build] 0.0.30
This commit is contained in:
parent
2849fa64ce
commit
237c44c77b
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@youzan/zanui-css",
|
"name": "@youzan/zanui-css",
|
||||||
"version": "0.0.29",
|
"version": "0.0.30",
|
||||||
"description": "zanui css.",
|
"description": "zanui css.",
|
||||||
"main": "lib/index.css",
|
"main": "lib/index.css",
|
||||||
"style": "lib/index.css",
|
"style": "lib/index.css",
|
||||||
|
@ -69,7 +69,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
install,
|
install,
|
||||||
version: '0.0.29',
|
version: '0.0.30',
|
||||||
Button,
|
Button,
|
||||||
Switch,
|
Switch,
|
||||||
Field,
|
Field,
|
||||||
|
@ -2,18 +2,17 @@ import Vue from 'vue';
|
|||||||
import merge from 'src/utils/merge';
|
import merge from 'src/utils/merge';
|
||||||
import PopupManager from './popup-manager';
|
import PopupManager from './popup-manager';
|
||||||
|
|
||||||
let popupContext = {
|
let popupContext;
|
||||||
idSeed: 1,
|
if (!window.popupContext) {
|
||||||
zIndex: 2000,
|
popupContext = window.popupContext = {
|
||||||
hasModal: false,
|
idSeed: 1,
|
||||||
instances: {},
|
zIndex: 2000,
|
||||||
modalStack: []
|
hasModal: false,
|
||||||
};
|
instances: {},
|
||||||
|
modalStack: []
|
||||||
if (Vue.prototype.$isServer) {
|
};
|
||||||
global.popupContext = popupContext;
|
|
||||||
} else {
|
} else {
|
||||||
window.popupContext = popupContext;
|
popupContext = window.popupContext;
|
||||||
}
|
}
|
||||||
|
|
||||||
const getDOM = function(dom) {
|
const getDOM = function(dom) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user