as is
This commit is contained in:
@@ -11,7 +11,7 @@ import { productReducer, initialState } from "../../store/product";
|
||||
import * as actions from "../../store/product/action";
|
||||
import {
|
||||
getCategoryTree,
|
||||
productSearch,
|
||||
productList,
|
||||
productDetail,
|
||||
productDelete,
|
||||
productEdit,
|
||||
@@ -75,7 +75,7 @@ export function Component() {
|
||||
orderBys.push(ProductOrderBys.CreateTime);
|
||||
else orderBys.push(ProductOrderBys.CreateTimeDesc);
|
||||
|
||||
const result = await productSearch({
|
||||
const result = await productList({
|
||||
categoryId: states.categoryId,
|
||||
keyword: states.keyword,
|
||||
orderBys: orderBys,
|
||||
|
||||
Reference in New Issue
Block a user