mirror of
https://github.com/zuiidea/antd-admin
synced 2026-11-03 00:14:00 +00:00
local mock data
This commit is contained in:
+2
-1
@@ -36,7 +36,8 @@ export default {
|
||||
effects: {
|
||||
*query({ payload }, { call, put }) {
|
||||
yield put({ type: 'showLoading' })
|
||||
const { data } = yield call(query, parse(payload))
|
||||
const data = yield call(query, parse(payload))
|
||||
console.log("modae",data);
|
||||
if (data) {
|
||||
yield put({
|
||||
type: 'querySuccess',
|
||||
|
||||
Reference in New Issue
Block a user