File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { getBodyFullscreenElement } from '../utils/dom.js'
1010import debounce from '../utils/debounce.js'
1111import { isSSR } from './Platform.js'
1212
13- let uid = 0
13+ let uid = 0 , vm
1414
1515const defaults = { }
1616const groups = { }
@@ -532,7 +532,7 @@ export default {
532532 install ( { $q } ) {
533533 $q . notify = this . create = isSSR === true
534534 ? noop
535- : opts => addNotification ( opts , this . __vm )
535+ : opts => addNotification ( opts , vm )
536536
537537 $q . notify . setDefaults = this . setDefaults
538538 $q . notify . registerType = this . registerType
@@ -556,8 +556,8 @@ export default {
556556 const node = document . createElement ( 'div' )
557557 document . body . appendChild ( node )
558558
559- this . __vm = new Vue ( Notifications )
560- this . __vm . $mount ( node )
559+ vm = new Vue ( Notifications )
560+ vm . $mount ( node )
561561 }
562562 }
563563}
You can’t perform that action at this time.
0 commit comments