【功能优化】添加商品属性时允许选择已有的属性值

This commit is contained in:
YunaiV
2024-08-14 00:43:34 +08:00
parent e7c9ca0c5b
commit bcb4fc3034
5 changed files with 35 additions and 19 deletions

View File

@ -65,6 +65,11 @@ export const getPropertyPage = (params: PageParam) => {
return request.get({ url: '/product/property/page', params })
}
// 获得属性项精简列表
export const getPropertySimpleList = (): Promise<PropertyVO[]> => {
return request.get({ url: '/product/property/simple-list' })
}
// ------------------------ 属性值 -------------------
// 获得属性值分页