diff --git a/src/platforms/mp-weixin/runtime/wrapper/app-base-parser.js b/src/platforms/mp-weixin/runtime/wrapper/app-base-parser.js index 5d57502908c9f3629493b0fb795b1dfde8b82a29..dee51ed224ffdc38d3f88cba4fa414b33ad6caad 100644 --- a/src/platforms/mp-weixin/runtime/wrapper/app-base-parser.js +++ b/src/platforms/mp-weixin/runtime/wrapper/app-base-parser.js @@ -61,7 +61,7 @@ function initScopedSlotsParams () { const has = center[vueId] if (!has) { parents[vueId] = this - this.$on('hook:destory', () => { + this.$on('hook:destroyed', () => { delete parents[vueId] }) } @@ -75,7 +75,7 @@ function initScopedSlotsParams () { return key ? object[key] : object } else { parents[vueId] = this - this.$on('hook:destory', () => { + this.$on('hook:destroyed', () => { delete parents[vueId] }) }