diff --git a/yudao-ui-admin/src/api/mall/product/property.js b/yudao-ui-admin/src/api/mall/product/property.js index f0172fb13..062b61548 100644 --- a/yudao-ui-admin/src/api/mall/product/property.js +++ b/yudao-ui-admin/src/api/mall/product/property.js @@ -58,8 +58,8 @@ export function getPropertyList(query) { export function getPropertyListAndValue(query) { return request({ url: '/product/property/get-value-list', - method: 'get', - params: query + method: 'post', + data: query }) } diff --git a/yudao-ui-admin/src/views/mall/product/spu/save.vue b/yudao-ui-admin/src/views/mall/product/spu/save.vue index 307f58f3b..2cfb774c2 100644 --- a/yudao-ui-admin/src/views/mall/product/spu/save.vue +++ b/yudao-ui-admin/src/views/mall/product/spu/save.vue @@ -422,7 +422,8 @@ export default { /** 查询规格 */ getPropertyPageList() { // 执行查询 - getPropertyListAndValue().then((response) => { + let query = {} + getPropertyListAndValue(query).then((response) => { this.propertyPageList = response.data; }); },