From 32b072c6eab33666b457ffd9184ebd26916bbdfe Mon Sep 17 00:00:00 2001 From: kevin jiang Date: Tue, 19 May 2020 11:09:01 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=A6=E5=8F=B7=E7=AE=A1=E7=90=86=EF=BC=8C?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=AD=97=E6=AE=B5=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 4 +- src/pages/user/AccountManager.vue | 198 ++++++++++++++++------ src/services/account/AccountManagement.js | 4 +- 3 files changed, 148 insertions(+), 58 deletions(-) diff --git a/src/App.vue b/src/App.vue index 7402194..7c867d9 100644 --- a/src/App.vue +++ b/src/App.vue @@ -37,8 +37,8 @@ .search-span { font-size: 16px; line-height: 32px; - margin-left: 20px; - margin-right: 20px; + margin-left: 10px; + margin-right: 10px; } .search-row{ diff --git a/src/pages/user/AccountManager.vue b/src/pages/user/AccountManager.vue index 19c938e..de31d2f 100644 --- a/src/pages/user/AccountManager.vue +++ b/src/pages/user/AccountManager.vue @@ -2,29 +2,28 @@
@@ -45,10 +44,13 @@ diff --git a/src/services/account/AccountManagement.js b/src/services/account/AccountManagement.js index d00cc95..3ec9abc 100644 --- a/src/services/account/AccountManagement.js +++ b/src/services/account/AccountManagement.js @@ -11,8 +11,8 @@ import http from '../CommonHttp' * @param call * @returns {Promise} */ -export function listAccountInfoApi(params, call) { - return http.post('account/info/list', params).then(call); +export function listAccountInfoApi(params, call, errorCallback) { + return http.post('account/info/list', params).then(call).catch(errorCallback); } /** * 删除账号