* 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="..."

相关文章:

  • 2022-01-19
  • 2022-12-23
  • 2022-12-23
  • 2021-08-01
  • 2022-12-23
  • 2021-12-27
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-16
  • 2021-12-27
  • 2021-11-05
  • 2021-12-24
  • 2021-11-16
  • 2022-12-23
  • 2021-12-05
相关资源
相似解决方案