diff --git a/packages/api-proxy/src/platform/api/route/index.ios.js b/packages/api-proxy/src/platform/api/route/index.ios.js index 653f87713..04ec39ea4 100644 --- a/packages/api-proxy/src/platform/api/route/index.ios.js +++ b/packages/api-proxy/src/platform/api/route/index.ios.js @@ -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 }