|
@@ -25,7 +25,7 @@ function userLogin(callback) {
|
|
|
|
|
|
function getSystemState(to, callback) {
|
|
|
ajax.get(store.state.api + '/getSystemState', {
|
|
|
- uid: store.state.userInfo.userid
|
|
|
+ uid: getToken(),
|
|
|
}).then(res => {
|
|
|
let state = res['data'][0][0]['state'];
|
|
|
store.commit('update', ['systemState', state]);
|