Skip to content

Commit

Permalink
修改router lock逻辑
Browse files Browse the repository at this point in the history
  • Loading branch information
wangcuijuan committed Jan 21, 2025
1 parent 34f1e0a commit 2abcd9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api-proxy/src/platform/api/route/index.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function isLock (navigationHelper, type, options) {
return true
}
setTimeout(() => {
if (navigationHelper.lastFailCallback) {
if (navigationHelper.lastSuccessCallback && navigationHelper.lastFailCallback) {
navigationHelper.lastFailCallback('timeout')
navigationHelper.lastFailCallback = null
}
Expand Down

0 comments on commit 2abcd9c

Please sign in to comment.