页面跳转提示条

This commit is contained in:
A1300399510 2023-08-03 18:33:11 +08:00
parent 34a8434278
commit 920d475ad0

View File

@ -131,6 +131,7 @@ const router = createRouter({
router.beforeEach((to, from, next) => {
console.log("开始");
//进度条开始
NProgress.start();
//随机增加进度
@ -144,5 +145,6 @@ router.beforeEach((to, from, next) => {
router.afterEach(() => {
NProgress.done();
console.log("结束");
})
export default router