mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-26 08:16:47 +08:00
优化代码
This commit is contained in:
parent
6f43c6d4d3
commit
24978231d9
@ -2456,7 +2456,7 @@
|
||||
if (text == null || text == undefined) {
|
||||
return true;
|
||||
}
|
||||
let regMoney = /^\d+\.?\d{0,4}$/;
|
||||
let regMoney = /^\-?\d+\.?\d{0,4}$/;
|
||||
return regMoney.test(text);
|
||||
},
|
||||
idCard: function(num) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user