Commit ef006473 authored by suhuiguang's avatar suhuiguang

1.修改token提醒

parent 5dccb293
...@@ -44,11 +44,7 @@ class App extends Component { ...@@ -44,11 +44,7 @@ class App extends Component {
componentWillMount() { componentWillMount() {
let token = LocationParam.getLocationParamByName('token'); let token = LocationParam.getLocationParamByName('token');
if (!token) { if (token) {
AmosAlert.error('警告', 'toke已失效!');
} else {
lsTool.write(SysConsts.token, token); lsTool.write(SysConsts.token, token);
lsTool.write('token', token); lsTool.write('token', token);
} }
......
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