From 8d893b142315071f9319e74c7d2b1d61ccd210a7 Mon Sep 17 00:00:00 2001 From: iapyang Date: Thu, 28 May 2020 15:23:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=89=93=E5=8C=85=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/router.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/router/router.js b/src/router/router.js index 5ca13eda5..c180dc6ee 100644 --- a/src/router/router.js +++ b/src/router/router.js @@ -494,7 +494,7 @@ // getFragment 得到的值是编码过的,而this.fragment是没有编码过的 // 英文路径没有问题,遇上中文和空格有问题了 current = decodeURIComponent(current); - } catch { + } catch(e) { } // If the user pressed the back button, the iframe's hash will have // changed and we should use that for comparison.