From dfcc8c215837a560180eef240bca951c7e56b164 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E4=BC=A0=E9=BE=99?= Date: Sat, 26 Mar 2022 17:50:29 +0800 Subject: [PATCH] =?UTF-8?q?mod:=20=E4=BF=AE=E6=94=B9=E5=A4=B1=E6=95=88?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mock/user/index.js | 6 +++--- src/layout/components/header/HeaderAction.vue | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) 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: [], }, ]