This commit is contained in:
A1300399510 2023-08-03 19:14:25 +08:00
parent 1dd2f37c29
commit 355ec3c798

View File

@ -8,7 +8,7 @@ import "nprogress/nprogress.css";
NProgress.configure({
easing: "ease", // 动画方式
speed: 2500, // 递增进度条的速度
speed: 1500, // 递增进度条的速度
showSpinner: false, // 是否显示加载ico
trickleSpeed: 800, // 自动递增间隔
minimum: 0.9, // 初始化时的最小百分比
@ -144,7 +144,7 @@ router.beforeEach((to, from, next) => {
})
router.afterEach(() => {
NProgress.done();
NProgress.done(true);
console.log("NProgress",NProgress);
console.log("结束");
})