feat: 头像上传功能更新所有头像框

This commit is contained in:
Argo Zhang 2019-08-15 16:33:20 +08:00
parent 997de2fe2c
commit c55e9c4218
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
$(function () {
var $headerIcon = $('#headerIcon');
var $headerIcon = $('.userinfo img, .nav-header img');
var preIcon = $headerIcon.attr('src');
var $file = $('#fileIcon');
var defFileName = $file.attr('data-file');