Browse Source

fix: 打包失败

es6
iapyang 5 years ago
parent
commit
8d893b1423
  1. 2
      src/router/router.js

2
src/router/router.js

@ -494,7 +494,7 @@
// getFragment 得到的值是编码过的,而this.fragment是没有编码过的 // getFragment 得到的值是编码过的,而this.fragment是没有编码过的
// 英文路径没有问题,遇上中文和空格有问题了 // 英文路径没有问题,遇上中文和空格有问题了
current = decodeURIComponent(current); current = decodeURIComponent(current);
} catch { } catch(e) {
} }
// If the user pressed the back button, the iframe's hash will have // If the user pressed the back button, the iframe's hash will have
// changed and we should use that for comparison. // changed and we should use that for comparison.

Loading…
Cancel
Save