File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 30
30
| mounted | mounted | 组件挂载到实例上去之后 |
31
31
| beforeUpdate | beforeUpdate | 组件数据发生变化,更新之前 |
32
32
| updated | updated | 数据数据更新之后 |
33
- | beforeDestroy | ** beforeUnmounted ** | 组件实例销毁之前 |
33
+ | beforeDestroy | ** beforeUnmount ** | 组件实例销毁之前 |
34
34
| destroyed | ** unmounted** | 组件实例销毁之后 |
35
35
| activated | activated | keep-alive 缓存的组件激活时 |
36
36
| deactivated | deactivated | keep-alive 缓存的组件停用时调用 |
57
57
58
58
** updated** :完成` view ` 层的更新,更新后,所有状态已是最新
59
59
60
- ** beforeunmounted ** :实例被销毁前调用,可用于一些定时器或订阅的取消
60
+ ** beforeUnmount ** :实例被销毁前调用,可用于一些定时器或订阅的取消
61
61
62
62
** unmounted** :销毁一个实例。可清理它与其它实例的连接,解绑它的全部指令及事件监听器
63
63
@@ -78,4 +78,4 @@ https://github1s.com/vuejs/core/blob/HEAD/packages/runtime-core/src/componentOpt
78
78
79
79
vue2中声明周期的派发时刻:
80
80
81
- https://github1s.com/vuejs/vue/blob/HEAD/src/core/instance/init.js#L55-L56
81
+ https://github1s.com/vuejs/vue/blob/HEAD/src/core/instance/init.js#L55-L56
You can’t perform that action at this time.
0 commit comments