摘要: Vue中form表单常用rules校验规则 是否合法IP地址 const checkIPCode = (rule, value, callback) => { if (/^(\d|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])\.(\d|[1-9]\ 阅读全文
posted @ 2024-04-27 09:48 leepandar 阅读(12) 评论(0) 推荐(0) 编辑