mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-16 11:44:01 +08:00
SSR feature
This commit is contained in:
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user