Commit 6ea51561 authored by baixian's avatar baixian

优化

parent 7fa9bc6e
......@@ -18,6 +18,6 @@
</head>
<body>
<div id="root"></div>
<script src="dist/main.js?1577691544208" charset="utf-8"></script>
<script src="dist/main.js?1577694105431" charset="utf-8"></script>
</body>
</html>
\ No newline at end of file
......@@ -165,6 +165,12 @@ export default {
}
const data = yield call(login.newLogin, params);
if (data.code === 200) {
yield put({
type: 'updateState',
payload: {
qxLoading: false,
},
});
if (data.data && data.data.token) {
LocalStorage.setItem('user', {
expiresIn: data.data.expiresIn,
......
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