Showing
3 changed files
with
2 additions
and
2 deletions
@@ -306,8 +306,8 @@ function phoneHidden(phone) { | @@ -306,8 +306,8 @@ function phoneHidden(phone) { | ||
306 | return phone.replace(/(\d{3})\d{4}(\d{4})/, '$1****$2'); | 306 | return phone.replace(/(\d{3})\d{4}(\d{4})/, '$1****$2'); |
307 | } | 307 | } |
308 | 308 | ||
309 | -if ($('.user-name').text().length === 11) { | ||
310 | - $('.user-name').html(phoneHidden($('.user-name').text())); | 309 | +if ($footer.find('.user-name').text().length === 11) { |
310 | + $footer.find('.user-name').html(phoneHidden($footer.find('.user-name').text())); | ||
311 | } | 311 | } |
312 | 312 | ||
313 | //暴露公共接口 | 313 | //暴露公共接口 |
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
-
Please register or login to post a comment