[build] 0.0.30

This commit is contained in:
cookfront 2017-03-10 17:44:37 +08:00
parent 2849fa64ce
commit 237c44c77b
3 changed files with 12 additions and 13 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@youzan/zanui-css",
"version": "0.0.29",
"version": "0.0.30",
"description": "zanui css.",
"main": "lib/index.css",
"style": "lib/index.css",

View File

@ -69,7 +69,7 @@ if (typeof window !== 'undefined' && window.Vue) {
module.exports = {
install,
version: '0.0.29',
version: '0.0.30',
Button,
Switch,
Field,

View File

@ -2,18 +2,17 @@ import Vue from 'vue';
import merge from 'src/utils/merge';
import PopupManager from './popup-manager';
let popupContext = {
idSeed: 1,
zIndex: 2000,
hasModal: false,
instances: {},
modalStack: []
};
if (Vue.prototype.$isServer) {
global.popupContext = popupContext;
let popupContext;
if (!window.popupContext) {
popupContext = window.popupContext = {
idSeed: 1,
zIndex: 2000,
hasModal: false,
instances: {},
modalStack: []
};
} else {
window.popupContext = popupContext;
popupContext = window.popupContext;
}
const getDOM = function(dom) {