handle.wxs 143 B

12345678
  1. function toHide(arr) {
  2. var phone = arr.substring(0,3) + '****' + arr.substring(7)
  3. return phone
  4. }
  5. module.exports ={
  6. toHide:toHide
  7. }