From dae9333b3fd244b88115d43cadd0aaf992ea9971 Mon Sep 17 00:00:00 2001 From: x ronger Date: Tue, 15 Sep 2020 22:05:06 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E7=94=A8=E6=88=B7/=E8=A7=92=E8=89=B2?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E7=95=8C=E9=9D=A2=E5=88=86=E9=A1=B5=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- store/admin.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/store/admin.js b/store/admin.js index 3b43b61..ce45f70 100644 --- a/store/admin.js +++ b/store/admin.js @@ -43,7 +43,9 @@ export const actions = { commit('updateFetching', true) return this.$axios - .$get(`${ADMIN_API_PATH}/users`) + .$get(`${ADMIN_API_PATH}/users`, { + params: params + }) .then(response => { commit('updateFetching', false); commit('updateUsersData', response); @@ -59,7 +61,9 @@ export const actions = { commit('updateFetching', true) return this.$axios - .$get(`${ADMIN_API_PATH}/roles`) + .$get(`${ADMIN_API_PATH}/roles`, { + params: params + }) .then(response => { commit('updateFetching', false); commit('updateRolesData', response);