perf: 优化nprogress进度条,页面重进或接口请求时不再显示进度条,提升用户体验 (#1225)

This commit is contained in:
xiaoming
2025-09-15 15:40:46 +08:00
committed by GitHub
parent c821f32ae9
commit 915e01c15c
4 changed files with 22 additions and 9 deletions

2
types/router.d.ts vendored
View File

@@ -56,6 +56,8 @@ declare global {
* 而通过设置`activePath`指定激活菜单即可获得高亮,`activePath`为指定激活菜单的`path`
*/
activePath?: string;
/** 当前页面是否已经加载过 */
loaded?: boolean;
}
/**