feat: 添加页面加载进度条NProgress

在路由切换时显示加载进度条,提升用户体验
This commit is contained in:
zhangtao
2025-06-14 13:58:27 +08:00
parent 00f3524aa1
commit 74c963c7e8
4 changed files with 40 additions and 2 deletions
+7
View File
@@ -15,6 +15,7 @@
"echarts": "^5.5.0",
"element-plus": "^2.8.4",
"highlight.js": "^11.10.0",
"nprogress": "^0.2.0",
"pinia": "^3.0.0",
"pinia-plugin-persistedstate": "^4.3.0",
"sass": "1.63.2",
@@ -2293,6 +2294,12 @@
"integrity": "sha512-Wj7+EJQ8mSuXr2iWfnujrimU35R2W4FAErEyTmJoJ7ucwTn2hOUSsRehMb5RSYkxXGTM7Y9QpvPmp++w5ftoJw==",
"license": "BSD-3-Clause"
},
"node_modules/nprogress": {
"version": "0.2.0",
"resolved": "https://registry.npmmirror.com/nprogress/-/nprogress-0.2.0.tgz",
"integrity": "sha512-I19aIingLgR1fmhftnbWWO3dXc0hSxqHQHQb3H8m+K3TnEn/iSeTZZOyvKXWqQESMwuUVnatlCnZdLBZZt2VSA==",
"license": "MIT"
},
"node_modules/nypm": {
"version": "0.6.0",
"resolved": "https://registry.npmmirror.com/nypm/-/nypm-0.6.0.tgz",