计算输入框的字符长度

this.feedback // 值

this.feedback.replace(/[^x00-xff]/g,"**").length

  

原文地址:https://www.cnblogs.com/baifubin/p/14989140.html