From c5449a3a02ae15c256723bf37efe7bcb38e87a67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B8=85?= Date: Tue, 16 Jan 2018 22:19:39 +0800 Subject: [PATCH] Increase url-polyfill, ie11 edge support (#699) * add loginout redirect * use select get pathname * Increase url-polyfill, ie11 edge support --- package.json | 3 ++- src/index.js | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 30151ceb..2b642036 100755 --- a/package.json +++ b/package.json @@ -43,7 +43,8 @@ "react-container-query": "^0.9.1", "react-document-title": "^2.0.3", "react-dom": "^16.2.0", - "react-fittext": "^1.0.0" + "react-fittext": "^1.0.0", + "url-polyfill": "^1.0.10" }, "devDependencies": { "babel-eslint": "^8.1.2", diff --git a/src/index.js b/src/index.js index c3ba259d..ef86ed2a 100644 --- a/src/index.js +++ b/src/index.js @@ -1,4 +1,5 @@ import '@babel/polyfill'; +import 'url-polyfill'; import dva from 'dva'; import createHistory from 'history/createHashHistory'; -- GitLab