diff --git a/mock/user/index.js b/mock/user/index.js index af2df28..b637880 100644 --- a/mock/user/index.js +++ b/mock/user/index.js @@ -4,21 +4,21 @@ const users = { admin: { id: 1, name: '大脸怪(admin)', - avatar: 'https://gitee.com/zclzone/res/raw/master/qs-zone/blob/img/lADPDiQ3QDTwsz3NAarNAaw_428_426.jpg', + avatar: 'https://assets.qszone.com/images/avatar.jpg', email: 'Ronnie@123.com', role: ['admin'], }, editor: { id: 2, name: '大脸怪(editor)', - avatar: 'https://gitee.com/zclzone/res/raw/master/qs-zone/blob/img/lADPDiQ3QDTwsz3NAarNAaw_428_426.jpg', + avatar: 'https://assets.qszone.com/images/avatar.jpg', email: 'Ronnie@123.com', role: ['editor'], }, guest: { id: 3, name: '访客(guest)', - avatar: 'https://gitee.com/zclzone/res/raw/master/qs-zone/blob/img/lADPDiQ3QDTwsz3NAarNAaw_428_426.jpg', + avatar: 'https://assets.qszone.com/images/avatar.jpg', role: [], }, } diff --git a/src/layout/components/header/HeaderAction.vue b/src/layout/components/header/HeaderAction.vue index 7e8d128..ff97cf7 100644 --- a/src/layout/components/header/HeaderAction.vue +++ b/src/layout/components/header/HeaderAction.vue @@ -40,21 +40,21 @@ function switchRole() { { id: 1, name: '大脸怪(admin)', - avatar: 'https://gitee.com/zclzone/res/raw/master/qs-zone/blob/img/lADPDiQ3QDTwsz3NAarNAaw_428_426.jpg', + avatar: 'https://assets.qszone.com/images/avatar.jpg', email: 'Ronnie@123.com', role: ['admin'], }, { id: 2, name: '大脸怪(editor)', - avatar: 'https://gitee.com/zclzone/res/raw/master/qs-zone/blob/img/lADPDiQ3QDTwsz3NAarNAaw_428_426.jpg', + avatar: 'https://assets.qszone.com/images/avatar.jpg', email: 'Ronnie@123.com', role: ['editor'], }, { id: 3, name: '访客(guest)', - avatar: 'https://gitee.com/zclzone/res/raw/master/qs-zone/blob/img/lADPDiQ3QDTwsz3NAarNAaw_428_426.jpg', + avatar: 'https://assets.qszone.com/images/avatar.jpg', role: [], }, ]