validator.js

160 阅读1分钟
  1. 只有使用了this.rule = ('isint'),才会自动转换字符串类型