流浪のwolf

卷帝

导航

2024年7月1日

js正则表达式 禁止输入汉字

摘要: const validateChinese = (rule, value, callback) => { var regex = /[\u4e00-\u9fa5]/; console.log('testtest',regex.test(value),value); if (regex.test(va 阅读全文

posted @ 2024-07-01 10:58 流浪のwolf 阅读(3) 评论(0) 推荐(0) 编辑