单项选择题

(vue)属于全局钩子函数的是()

A.beforeEach
B.beforeRouteEnter
C.beforeRouteUpdate
D.beforeRouteLeave