Commit ef006473 authored by suhuiguang's avatar suhuiguang

1.修改token提醒

parent 5dccb293
......@@ -44,17 +44,13 @@ class App extends Component {
componentWillMount() {
let token = LocationParam.getLocationParamByName('token');
if (!token) {
AmosAlert.error('警告', 'toke已失效!');
} else {
if (token) {
lsTool.write(SysConsts.token, token);
lsTool.write('token', token);
}
getSystemAllMenu().then(
menus => {
let systemMuens = this.filterSystemMenus(menus);
let routeMenus = [];
......@@ -71,7 +67,7 @@ class App extends Component {
}
);
// opMenusAction().then(
// menus => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment