actionAdminGoodsSearchPage.js 404 B

123456789
  1. import { actionFeedCats, actionFeedCatsFind, actionFeedClear, actionFeedGoodsFind, actionPromiseClear } from "../reducers";
  2. export const actionAdminGoodsSearchPage =
  3. ({ orderBy = "_id", text }) =>
  4. async (dispatch, getState) => {
  5. dispatch(actionFeedClear());
  6. dispatch(actionPromiseClear("feedGoodsFind"));
  7. dispatch(actionFeedGoodsFind({ text, orderBy, skip: 0 }));
  8. };