https://blog.csdn.net/qq_41912398/article/details/109231418
next() —— 放行
next(’/’) —— 中断当前导航,执行新的导航。注意这里不是直接转跳,而是中断。
beforeEach((to, from, next) => {
beforeEach(('/logon', from, next) => {
beforeEach(('/logon', from, next) => {
beforeEach(