摘要:
一、type 1、string:类型必须为string。type 默认是 string。 string: [ {type: 'string', message: `请输入字符串`, trigger: 'blur'} ] 2、number:类型必须为number。 number: [ {type: ' 阅读全文
posted @ 2021-04-07 23:52
小阿飞ZJF
阅读(448)
评论(0)
推荐(0)
摘要:
1、分割手机号 "18723568888".replace(/(?=(\d{4})+$)/g,"-") // 输出:187-2356-8888 阅读全文
posted @ 2021-04-07 23:43
小阿飞ZJF
阅读(42)
评论(0)
推荐(0)

浙公网安备 33010602011771号