Authored by uedxwg

gulpge

... ... @@ -306,8 +306,8 @@ function phoneHidden(phone) {
return phone.replace(/(\d{3})\d{4}(\d{4})/, '$1****$2');
}
if ($('.user-name').text().length === 11) {
$('.user-name').html(phoneHidden($('.user-name').text()));
if ($footer.find('.user-name').text().length === 11) {
$footer.find('.user-name').html(phoneHidden($footer.find('.user-name').text()));
}
//暴露公共接口
... ...
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.