From f32a82379beb286aaf3ea33d2e686b42164cd9b3 Mon Sep 17 00:00:00 2001 From: perry <292303709@qq.com> Date: Mon, 8 May 2023 16:29:31 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=B7=E6=B1=82=E6=96=B9=E6=B3=95=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-ui-admin/src/api/mall/product/property.js | 4 ++-- yudao-ui-admin/src/views/mall/product/spu/save.vue | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) 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; }); },