...
|
...
|
@@ -9,6 +9,8 @@ var $userAvatar = $('.user-avatar'), |
|
|
var myImage = new Image();
|
|
|
|
|
|
require('../product/recommend-for-you.js');
|
|
|
require('../product/suspend-cart.js');
|
|
|
|
|
|
myImage.src = $userAvatar.attr('src');
|
|
|
myImage.onerror = function() {
|
|
|
$userAvatar.attr('src', 'http://static.dev.yohobuy.com/img/me/index/user-avatar.png');
|
...
|
...
|
|