From d4e8fab0bef598133ea864bcc8fd779064ce9c1f Mon Sep 17 00:00:00 2001 From: TiaStars Date: Mon, 25 Nov 2024 10:07:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=8D=A2=E5=A4=B4=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/images/touxiang.png | Bin 0 -> 5942 bytes src/store/modules/user.js | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 src/assets/images/touxiang.png diff --git a/src/assets/images/touxiang.png b/src/assets/images/touxiang.png new file mode 100644 index 0000000000000000000000000000000000000000..673ac1e674236020e0c05bfa32456565aeb48223 GIT binary patch literal 5942 zcmbuDZZ2q-90O9=}|N_T_OARS97D7lnKh_Z@EgT#``4U$So zv#`XHN~h!x|AObm^I~SsTxZUiGjW}3=98eOqfSMBiyQy|Dx`+0!FAj7uaJ>k*X5=a z1=kJ8&p=%nsQAgY4gichNL8iBLDrl3qzCfqM&0cUTww5XZt`dZ3ILUaAjs$tZ!~X{ zbPWxYkwr5IJ*WMkX{d*ZCv!~|R_i1p(@5udsnkjLJ^^+s=$4Jr(9ErGCTYF;y-2kt= z-bwbdS$aL`E(gRU;0|$Z*RvLUjoFSNtF0Z&xZ{7<8!YqNyD<&JgEL%01Q%hLG(wD$ zk~p9EL3(nG|EiIaJ16qHc>V$P^*_D$a1;3JM4Fg8szCd2dJs)f*z(EvY?M4zRx8Am z`0SP5(kTR8V7!!Qz>1g*Q&b+ARY}V0+mJCHG32{&5Z$bR!f2k&&!a1Q!zjWGM+|X> z=Uom|02T`&xrcw$VFuWUJEy-t7We>(wRzy2%)bl&nzrMm`9Nk)V7wIj7-iYzA?#IM z;8uFN*UhGJpF>Pjlc>iEHyT;;K1BHHJ8f}?_8#us=y0OyE{aWbefaW+7ax!5JPVqG z?cJQwXE-q|J5cNMOqqSx(Xa=_e9ayV`L^Ek4ISY72zfiRlU+SM48AjnPR=;U3VZy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%FFasmUbtqI*L6Yh}+qcea8-+tT-glt6Rb9Q!*^+$k>e7bvF1cAUaZPp)kHVi~UtFu?5=UQ-KE1}ZA!luM zxPQ=>| zYyR8$pGLVx>pwKyux-&V55MN4b{J!f_4SHq)$ literal 0 HcmV?d00001 diff --git a/src/store/modules/user.js b/src/store/modules/user.js index 6434f40..a061288 100644 --- a/src/store/modules/user.js +++ b/src/store/modules/user.js @@ -63,7 +63,7 @@ const user = { return new Promise((resolve, reject) => { getInfo().then(res => { const user = res.user - const avatar = (user.avatar == "" || user.avatar == null) ? require("@/assets/images/profile.jpg") : process.env.VUE_APP_BASE_API + user.avatar; + const avatar = (user.avatar == "" || user.avatar == null) ? require("@/assets/images/touxiang.png") : process.env.VUE_APP_BASE_API + user.avatar; if (res.roles && res.roles.length > 0) { // 验证返回的roles是否是一个非空数组 commit('SET_ROLES', res.roles) commit('SET_PERMISSIONS', res.permissions)