diff --git a/public/static/head.jpg b/public/static/head.jpg new file mode 100644 index 0000000..066040a Binary files /dev/null and b/public/static/head.jpg differ diff --git a/src/views/system/UserList.vue b/src/views/system/UserList.vue index b7485e8..04daf23 100644 --- a/src/views/system/UserList.vue +++ b/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) },