@mpxjs/api-proxy 2.10.17-beta.8 → 2.10.17-beta.8-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mpxjs/api-proxy",
3
- "version": "2.10.17-beta.8",
3
+ "version": "2.10.17-beta.8-1",
4
4
  "description": "convert miniprogram API at each end",
5
5
  "module": "src/index.js",
6
6
  "types": "@types/index.d.ts",
@@ -14,7 +14,7 @@ function getBasePath (navigation) {
14
14
  let timerId = null
15
15
  function isLock (navigationHelper, type, options) {
16
16
  if (navigationHelper.lastSuccessCallback && navigationHelper.lastFailCallback) {
17
- const { path } = parseUrl(options.url)
17
+ const { path } = parseUrl(options.url || '')
18
18
  const res = {
19
19
  errMsg: `${type}:fail the previous routing event didn't complete`,
20
20
  path