From abb0cfae0616c8ed85a75eaf61d490275b984ed0 Mon Sep 17 00:00:00 2001 From: vben Date: Sun, 15 Nov 2020 13:46:16 +0800 Subject: [PATCH] chore: update center page --- mock/demo/account.ts | 14 ++-------- src/api/demo/account.ts | 4 +-- .../demo/page/account/center/Application.vue | 8 +++--- .../demo/page/account/center/Project.vue | 8 +++--- src/views/demo/page/account/center/data.tsx | 13 ++++----- src/views/demo/page/account/center/index.vue | 28 +++++++++---------- .../demo/page/account/setting/AccountBind.vue | 6 ++-- 7 files changed, 35 insertions(+), 46 deletions(-) diff --git a/mock/demo/account.ts b/mock/demo/account.ts index 3c7d1fda3..299f62499 100644 --- a/mock/demo/account.ts +++ b/mock/demo/account.ts @@ -8,7 +8,7 @@ const userInfo = { signature: '海纳百川,有容乃大', introduction: '微笑着,努力着,欣赏着', title: '交互专家', - group: '蚂蚁集团-某某某事业群-某某平台部-某某技术部-UED', + group: '蚂蚁集团11-某某某事业群-某某平台部-某某技术部-UED', tags: [ { key: '0', @@ -38,16 +38,8 @@ const userInfo = { notifyCount: 12, unreadCount: 11, country: 'China', - province: { - label: '浙江省', - value: '330000', - }, - city: { - label: '杭州市', - value: '330100', - }, - address: '西湖区工专路 77 号', - phone: '0752-268888888', + address: '厦门市 77 号', + phone: '0592-268888888', }; export default [ diff --git a/src/api/demo/account.ts b/src/api/demo/account.ts index 89979aa94..049569b98 100644 --- a/src/api/demo/account.ts +++ b/src/api/demo/account.ts @@ -3,14 +3,12 @@ import { GetAccountInfoModel } from './model/accountModel'; enum Api { ACCOUNT_INFO = '/account/getAccountInfo', - SECURE_LIST = '/account/getSecureList', } // 获取个人中心--基础设置内容 -export function accountInfoApi(params: any) { +export function accountInfoApi() { return defHttp.request({ url: Api.ACCOUNT_INFO, method: 'GET', - params, }); } diff --git a/src/views/demo/page/account/center/Application.vue b/src/views/demo/page/account/center/Application.vue index d9c3496fd..5cedb07ac 100644 --- a/src/views/demo/page/account/center/Application.vue +++ b/src/views/demo/page/account/center/Application.vue @@ -1,8 +1,8 @@