Skip to content

Commit

Permalink
fix: 修复 router stack 层级关系
Browse files Browse the repository at this point in the history
  • Loading branch information
0x30 committed Jan 4, 2024
1 parent 77fcc54 commit 87ced36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/layout/src/Loading/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ const showLoading = async (status: Status, message?: string) => {
if (isShowLoading === false) return
isShowLoading = false
window.clearTimeout(closeLoadingTimer)
await back()

if (status === 3) {
closeLoadingTimer = window.setTimeout(() => {
Expand Down

0 comments on commit 87ced36

Please sign in to comment.