Browse Source

默认头像改为本地

dev
0.0 2 years ago
parent
commit
f111980b9f
  1. BIN
      public/static/head.jpg
  2. 5
      src/views/system/UserList.vue

BIN
public/static/head.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

5
src/views/system/UserList.vue

@ -394,11 +394,12 @@
setimgurl(avatar){
this.imgurl=this.getAvatarView(avatar)
document.getElementById('imgs').click();
console.log(document.getElementById('imgs'))
},
getAvatarView: function (avatar) {
if (avatar ===null){
avatar ='http://182.92.73.21:9090/file/temp/头像_1668068982086.jpg'
// avatar ='http://182.92.73.21:9090/file/temp/_1668068982086.jpg'
avatar ='/static/head.jpg'
return avatar;
}
return getFileAccessHttpUrl(avatar)
},

Loading…
Cancel
Save