feat:【antd】【ele】统一 await formApi.setValues(formData.value); 的写法

This commit is contained in:
YunaiV
2025-10-03 09:07:01 +08:00
parent 7934cbdd7b
commit 325cede2ed
35 changed files with 35 additions and 104 deletions

View File

@@ -1,5 +1,4 @@
import { requestClient } from '#/api/request';
import type {PageParam} from '@vben/request';
export namespace ErpProductCategoryApi {
/** ERP 产品分类信息 */
@@ -15,7 +14,7 @@ export namespace ErpProductCategoryApi {
}
/** 查询产品分类列表 */
export function getProductCategoryList(params: any) {
export function getProductCategoryList(params?: any) {
return requestClient.get<ErpProductCategoryApi.ProductCategory[]>(
'/erp/product-category/list',
{ params },