* create({payload = {}}, {call, put, select}) { const {currentLineId} = yield select(_ => _.app) payload.address.speciaLineId = currentLineId const data = yield call(create, payload); if (data.success) { message.success("新增成功"); yield put(routerRedux.push({ pathname: '/customer/protection/flow', search : "" })) }else { message.error(data.message); } },
区别于window.location.href="..."