From dd7cce662b9afb4346de814107da524bd093515e Mon Sep 17 00:00:00 2001 From: Kaviilee Date: Wed, 1 Nov 2023 17:39:49 +0800 Subject: [PATCH] fix: kungfu update --- src/service/skill.js | 4 ++-- src/views/Kungfu.vue | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/service/skill.js b/src/service/skill.js index 1957380f..c0f872f0 100644 --- a/src/service/skill.js +++ b/src/service/skill.js @@ -38,8 +38,8 @@ function getAll(xf) { } // 获取特殊技能分组 -function getSpecialGroup(){ - return $cms().get('/api/cms/pvp/collection/group'); +function getSpecialGroup(params){ + return $cms().get('/api/cms/pvp/collection/group', { params }); } // 获取特殊技能 diff --git a/src/views/Kungfu.vue b/src/views/Kungfu.vue index 9a494612..3aac47f6 100644 --- a/src/views/Kungfu.vue +++ b/src/views/Kungfu.vue @@ -103,6 +103,7 @@ export default { const params = { group: this.type, client: this.client, + __no_page: 1, }; if (this.school !== "") { params.school = this.school; @@ -118,7 +119,7 @@ export default { }); }, loadGroup() { - getSpecialGroup().then((res) => { + getSpecialGroup({ __need_item: 0 }).then((res) => { this.types = res.data.data .map((item) => { return {