diff --git a/lib/components/others/notification/plugin.js b/lib/components/others/notification/plugin.js index e5ba98a..79b9a5d 100644 --- a/lib/components/others/notification/plugin.js +++ b/lib/components/others/notification/plugin.js @@ -4,7 +4,7 @@ import Timer from '../../utils/timer' import WrapperComponent from './NotificationWrapper' const timeout = 5000 -const notifications = [] +const notifications = Vue.observable([]) export default function (ctx, inject) { if (process.server) return false