fix: 修复种类属性保存时数据格式错误
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Agent
2026-03-30 13:16:57 +00:00
parent 10269adfef
commit 7df8920049

View File

@@ -98,7 +98,7 @@ export default {
* 保存种类的属性定义
*/
saveCategoryAttributes(categoryId, attrs) {
return api.request(`/products/categories/${categoryId}/attributes`, 'POST', {}, { attributes: attrs })
return api.request(`/products/categories/${categoryId}/attributes`, 'POST', {}, attrs)
},
// ============ 商品属性 ============