mirror of
https://github.com/zuiidea/antd-admin
synced 2026-11-23 14:03:48 +00:00
loading
This commit is contained in:
+9
-1
@@ -47,7 +47,9 @@ export default {
|
||||
}
|
||||
}
|
||||
})
|
||||
} else {}
|
||||
} else {
|
||||
yield put({type: 'hideLoading'})
|
||||
}
|
||||
},
|
||||
*logout({
|
||||
payload
|
||||
@@ -93,6 +95,12 @@ export default {
|
||||
...state,
|
||||
loading: true
|
||||
}
|
||||
},
|
||||
hideLoading(state) {
|
||||
return {
|
||||
...state,
|
||||
loading: false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user