摘要: export default class Validator { static required(val, msg) { if ((!val && val != 0) || val.length 0) { throw msg } return this } static mobile(val) { 阅读全文
posted @ 2020-06-05 20:48 jzfan 阅读(936) 评论(0) 推荐(0) 编辑