Browse Source

替换路由模式2

JXDS18FUJT 2 năm trước cách đây
mục cha
commit
c9f90820f5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/router/index.js

+ 1 - 1
src/router/index.js

@@ -4,7 +4,7 @@
 *
 * */
 import React from 'react';
-import {BrowserRouter, HashRouter, Switch, Route, Redirect} from 'react-router-dom';
+import {BrowserRouter, Switch, Route, Redirect} from 'react-router-dom';
 import {asyncComponent} from '../utils/asyncComponent';
 
 const routes = [