Commit 9b17601c by zhaochengxiang

请求去掉delay

parent f5ad96d1
import { createStore, applyMiddleware } from 'redux'
import createSagaMiddleware from 'redux-saga'
import { all, call, takeLatest, takeEvery, delay } from 'redux-saga/effects'
import { all, call, takeLatest, takeEvery } from 'redux-saga/effects'
import { Connect, showErrorNotifaction } from '../util';
import { reducers } from './reducer';
......@@ -16,7 +16,6 @@ function* request(args) {
const { type, payload, callback, error } = args.args;
try {
yield delay(300)
const rs = yield call(funcs[type], payload)
if (callback)
yield call(callback, rs)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment