提交 5dbdea4c 编写于 作者: Q qiang

fix(mp): destory -> destroyed

上级 e3df6b6e
...@@ -61,7 +61,7 @@ function initScopedSlotsParams () { ...@@ -61,7 +61,7 @@ function initScopedSlotsParams () {
const has = center[vueId] const has = center[vueId]
if (!has) { if (!has) {
parents[vueId] = this parents[vueId] = this
this.$on('hook:destory', () => { this.$on('hook:destroyed', () => {
delete parents[vueId] delete parents[vueId]
}) })
} }
...@@ -75,7 +75,7 @@ function initScopedSlotsParams () { ...@@ -75,7 +75,7 @@ function initScopedSlotsParams () {
return key ? object[key] : object return key ? object[key] : object
} else { } else {
parents[vueId] = this parents[vueId] = this
this.$on('hook:destory', () => { this.$on('hook:destroyed', () => {
delete parents[vueId] delete parents[vueId]
}) })
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册