From bbd8516ac074f22c2b91f68125d48a8f45e8b243 Mon Sep 17 00:00:00 2001 From: ronger Date: Fri, 10 Dec 2021 19:36:38 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E6=88=91=E7=9A=84=E9=92=B1=E5=8C=85?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- store/wallet.js | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/store/wallet.js b/store/wallet.js index d2fe186..fd95c01 100644 --- a/store/wallet.js +++ b/store/wallet.js @@ -1,4 +1,4 @@ -export const BANK_ACCOUNT_API_PATH = '/api/admin/bank-account' +export const BANK_ACCOUNT_API_PATH = '/api/wallet' const getDefaultListData = () => { return { @@ -38,28 +38,6 @@ export const mutations = { } export const actions = { - // 获取消息列表 - fetchList({commit}, params = {}) { - // 清空已有数据 - commit('updateListData', getDefaultListData()) - commit('updateListFetching', true) - let data = { - page: params.page || 1 - } - - return this.$axios - .$get(`${BANK_ACCOUNT_API_PATH}/drafts`, { - params: data - }) - .then(response => { - commit('updateListFetching', false); - commit('updateListData', response); - }) - .catch(error => { - console.log(error); - commit('updateListFetching', false); - }); - }, // 获取账户详情 fetchDetail({ commit }, params = {}) { commit('updateDetailFetching', true)