Skip to content

Commit 5d8875a

Browse files
committed
开启history为hash
1 parent b048304 commit 5d8875a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

client/.umirc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
export default {
2+
history: 'hash',
23
plugins: [
34
[
45
'umi-plugin-react',

client/src/components/SiderMenu/SiderMenu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import pathToRegexp from 'path-to-regexp';
44
import { Link } from 'dva/router';
55
import styles from './index.less';
66
import { urlToList } from '../utils/pathTools';
7-
import { siderMenuTitle } from './../../utils/config';
7+
import { siderMenuTitle } from '../../utils/config';
88

99
const { Sider } = Layout;
1010
const { SubMenu } = Menu;

0 commit comments

Comments
 (0)