diff --git a/mock/api.js b/mock/api.js index e6f3b67d9b6dd22c740ea4b79c8641c8154ba32b..6a167c14f1493efad1c849d83c62e713fe531a08 100644 --- a/mock/api.js +++ b/mock/api.js @@ -1,4 +1,4 @@ -import { imgMap, getUrlParams } from './utils'; +import { getUrlParams } from './utils'; const titles = [ 'Alipay', @@ -178,7 +178,7 @@ export const getActivities = [ updatedAt: new Date(), user: { name: '林东东', - avatar: imgMap.a, + avatar: avatars[0], }, group: { name: '高逼格设计天团', @@ -195,7 +195,7 @@ export const getActivities = [ updatedAt: new Date(), user: { name: '付小小', - avatar: imgMap.c, + avatar: avatars[1], }, group: { name: '高逼格设计天团', @@ -212,7 +212,7 @@ export const getActivities = [ updatedAt: new Date(), user: { name: '曲丽丽', - avatar: imgMap.b, + avatar: avatars[2], }, group: { name: '中二少女团', @@ -229,7 +229,7 @@ export const getActivities = [ updatedAt: new Date(), user: { name: '周星星', - avatar: imgMap.c, + avatar: avatars[3], }, project: { name: '5 月日常迭代', @@ -242,7 +242,7 @@ export const getActivities = [ updatedAt: new Date(), user: { name: '朱偏右', - avatar: imgMap.a, + avatar: avatars[4], }, project: { name: '工程效能', @@ -259,7 +259,7 @@ export const getActivities = [ updatedAt: new Date(), user: { name: '乐哥', - avatar: imgMap.b, + avatar: avatars[5], }, group: { name: '程序员日常', diff --git a/src/routes/Dashboard/Workplace.js b/src/routes/Dashboard/Workplace.js index bd819f1a87b8bf9875f198a16b006108d18d7673..aab68e909354ee1d7bc372be0dce004a70827da7 100644 --- a/src/routes/Dashboard/Workplace.js +++ b/src/routes/Dashboard/Workplace.js @@ -41,31 +41,31 @@ const members = [ { id: 'members-1', title: '科学搬砖组', - logo: 'https://gw.alipayobjects.com/zos/rmsportal/CRxBvUggxBYzWBTGmkxF.png', + logo: 'https://gw.alipayobjects.com/zos/rmsportal/WdGqmHpayyMjiEhcKoVE.png', link: '', }, { id: 'members-2', title: '程序员日常', - logo: 'https://gw.alipayobjects.com/zos/rmsportal/RBytOnluTcyeyDazAbvs.png', + logo: 'https://gw.alipayobjects.com/zos/rmsportal/zOsKZmFRdUtvpqCImOVY.png', link: '', }, { id: 'members-3', title: '设计天团', - logo: 'https://gw.alipayobjects.com/zos/rmsportal/HQVJYAXtWHEJvLxQjmPa.png', + logo: 'https://gw.alipayobjects.com/zos/rmsportal/dURIMkkrRFpPgTuzkwnB.png', link: '', }, { id: 'members-4', title: '中二少女团', - logo: 'https://gw.alipayobjects.com/zos/rmsportal/HQVJYAXtWHEJvLxQjmPa.png', + logo: 'https://gw.alipayobjects.com/zos/rmsportal/sfjbOqnsXXJgNCjCzDBL.png', link: '', }, { id: 'members-5', title: '骗你学计算机', - logo: 'https://gw.alipayobjects.com/zos/rmsportal/RBytOnluTcyeyDazAbvs.png', + logo: 'https://gw.alipayobjects.com/zos/rmsportal/siCrBXXhmvTQGWPNLBow.png', link: '', }, ];