Skip to content

Commit

Permalink
fix: 修复进度条设置父元素导致的样式问题 (fix #52)
Browse files Browse the repository at this point in the history
  • Loading branch information
yulimchen committed Mar 7, 2024
1 parent 24eceb3 commit 08310ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/progress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ NProgress.configure({
// 初始化时的最小百分比
minimum: 0.3,
// 加载条的父元素
parent: "#app"
parent: "body"
});

export default NProgress;

0 comments on commit 08310ca

Please sign in to comment.