摘要: //正负带小数 pattern: /^[+\-]?(?!0\d)\d+(\.\d+)?$/, //正整数 pattern: /^([1-9]\d*|0)?$/, //正数带小数 /^[+]{0,1}(\d+)$|^[+]{0,1}(\d+\.\d+)$/ const re = /^[+]{0,1}( 阅读全文
posted @ 2022-01-12 10:41 闰土的土 阅读(836) 评论(0) 推荐(0) 编辑