fix: destruction of $apollo in vue-apollo-option (#1273)
This commit is contained in:
@@ -103,9 +103,9 @@ function defineReactiveSetter ($apollo, key, value, deep) {
|
||||
}
|
||||
|
||||
function destroy () {
|
||||
if (this.$_apollo) {
|
||||
this.$_apollo.destroy()
|
||||
this.$_apollo = null
|
||||
if (this.$apollo) {
|
||||
this.$apollo.destroy()
|
||||
this.$apollo = null
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user