上传新头像时右边模型表单的头像是 X?
更新头像的时候右边变成了x。 保存了以后在左边的小头像确保持正常。
这个x头像的元素是这个样子的<img <img="" data-bind="attr: {src: $root[field_name]().substring(0, 4) == 'http' ? $root[field_name]() : file_url + '?path=' + location + $root[field_name]()}" onload="window.admin.resizePage()" src="http://larabbs.test/admin/users/file?path=/home/vagrant/code/larabbs/public/uploads/images/avatars/4N9wOgAVVyCgMlqtlZ0FSSre5mxncRCC.png">
请问要在哪里改, 感谢!
推荐文章: