fix: clone options to avoid sharing state between multiple instances (#96)
see (#95)
This commit is contained in:
committed by
Guillaume Chau
parent
d59116d62b
commit
1436cc5e10
+1
-1
@@ -9,7 +9,7 @@ class SmartApollo {
|
||||
constructor (vm, key, options, autostart = true) {
|
||||
this.vm = vm
|
||||
this.key = key
|
||||
this.options = options
|
||||
this.options = Object.assign({}, options)
|
||||
this._skip = false
|
||||
this._watchers = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user