mirror of
https://github.com/zuiidea/antd-admin
synced 2026-10-31 14:33:44 +00:00
add: dva-loading
This commit is contained in:
@@ -46,7 +46,6 @@ export default {
|
||||
*queryUser ({
|
||||
payload
|
||||
}, {call, put}) {
|
||||
yield put({type: 'showLoading'})
|
||||
const data = yield call(userInfo, parse(payload))
|
||||
if (data.success) {
|
||||
yield put({
|
||||
@@ -58,8 +57,6 @@ export default {
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
yield put({type: 'hideLoading'})
|
||||
},
|
||||
*logout ({
|
||||
payload
|
||||
|
||||
Reference in New Issue
Block a user