单项选择题

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