From bf7f92884c0bc3fe3e0d663f943fa16e90055a3b Mon Sep 17 00:00:00 2001 From: chaosBreaking Date: Fri, 18 Oct 2019 11:32:17 +0800 Subject: [PATCH] action type --- src/store/modules/actions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/modules/actions.js b/src/store/modules/actions.js index eb24b48..902adba 100644 --- a/src/store/modules/actions.js +++ b/src/store/modules/actions.js @@ -45,10 +45,10 @@ export default { actions: { async queryUserInfo({ state, commit }) { const { token } = JSON.parse(sessionStorage.getItem('KEY_ACCOUNT')) - const { userId, type = 0, op } = state + const { userId } = state const pageSize = 20 const pageIndex = 1 - const result = await axios.post('admin/actions', { query: { userId, type, op }, option: { pageSize, pageIndex } }, { headers: { token } }) + const result = await axios.post('admin/actions', { query: { userId }, option: { pageSize, pageIndex } }, { headers: { token } }) const arr = result.data && result.data.data || [] commit('setUserList', arr) },