We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
此部分代码:
vue-happy-bus/index.js
Lines 30 to 36 in 22c62b8
因为 vue-router 默认会mixin destroyed 事件,当不使用 vue-router 组件时,没有默认的监听 destroyed 行为,vue 内部不会创建 destroyed Array。
参考: https://github.com/vuejs/vue-router/blob/ce955d9322d54c9e1f05ea5f8566aaa408587b71/src/install.js#L21-L36
The text was updated successfully, but these errors were encountered:
fix(index.js): 兼容 vm.$options.destroyed 可能为 undefined 的场景 #6
ad3aa87
No branches or pull requests
此部分代码:
vue-happy-bus/index.js
Lines 30 to 36 in 22c62b8
因为 vue-router 默认会mixin destroyed 事件,当不使用 vue-router 组件时,没有默认的监听 destroyed 行为,vue 内部不会创建 destroyed Array。
参考:
https://github.com/vuejs/vue-router/blob/ce955d9322d54c9e1f05ea5f8566aaa408587b71/src/install.js#L21-L36
The text was updated successfully, but these errors were encountered: