feat: 头像上传功能更新所有头像框
This commit is contained in:
parent
997de2fe2c
commit
c55e9c4218
|
@ -1,5 +1,5 @@
|
||||||
$(function () {
|
$(function () {
|
||||||
var $headerIcon = $('#headerIcon');
|
var $headerIcon = $('.userinfo img, .nav-header img');
|
||||||
var preIcon = $headerIcon.attr('src');
|
var preIcon = $headerIcon.attr('src');
|
||||||
var $file = $('#fileIcon');
|
var $file = $('#fileIcon');
|
||||||
var defFileName = $file.attr('data-file');
|
var defFileName = $file.attr('data-file');
|
||||||
|
|
Loading…
Reference in New Issue