diff --git a/api/category/index.js b/api/category/index.js index 64bb6f8..526ac93 100644 --- a/api/category/index.js +++ b/api/category/index.js @@ -7,8 +7,8 @@ const api = { } // 页面数据 -export function list() { - return request.get(api.list) +export function list(param) { + return request.get(api.list, param) } diff --git a/pages/goods/list.vue b/pages/goods/list.vue index eeb001b..511dade 100644 --- a/pages/goods/list.vue +++ b/pages/goods/list.vue @@ -1,569 +1,613 @@ \ No newline at end of file