fix qureyuser

This commit is contained in:
zuiidea
2017-05-09 15:25:08 +08:00
parent d2595271f8
commit 664aeba133
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ export default {
}, { call, put }) {
const data = yield call(logout, parse(payload))
if (data.success) {
yield put({ type: 'queryUser' })
yield put({ type: 'query' })
} else {
throw (data)
}
+1 -1
View File
@@ -17,7 +17,7 @@ export default {
yield put({ type: 'hideLoginLoading' })
if (data.success) {
const from = queryURL('from')
yield put({ type: 'app/queryUser' })
yield put({ type: 'app/query' })
if (from) {
yield put(routerRedux.push(from))
} else {