SSR feature

This commit is contained in:
qingwei.li
2016-12-26 10:45:20 +08:00
parent e181fec748
commit daec90af9f
18 changed files with 35 additions and 25 deletions

View File

@@ -7,6 +7,7 @@ let instances = [];
let seed = 1;
var Notification = function(options) {
if (Vue.prototype.$isServer) return;
options = options || {};
let userOnClose = options.onClose;
let id = 'notification_' + seed++;