请求方法修改

pull/2/head
perry 2023-05-08 16:29:31 +08:00
parent 90e04bb0d1
commit f32a82379b
2 changed files with 4 additions and 3 deletions

View File

@ -58,8 +58,8 @@ export function getPropertyList(query) {
export function getPropertyListAndValue(query) { export function getPropertyListAndValue(query) {
return request({ return request({
url: '/product/property/get-value-list', url: '/product/property/get-value-list',
method: 'get', method: 'post',
params: query data: query
}) })
} }

View File

@ -422,7 +422,8 @@ export default {
/** 查询规格 */ /** 查询规格 */
getPropertyPageList() { getPropertyPageList() {
// //
getPropertyListAndValue().then((response) => { let query = {}
getPropertyListAndValue(query).then((response) => {
this.propertyPageList = response.data; this.propertyPageList = response.data;
}); });
}, },