This commit is contained in:
2023-08-11 10:45:20 +08:00
commit 161ca982f3
31850 changed files with 2706500 additions and 0 deletions

9
node_modules/vant/lib/utils/validate/mobile.js generated vendored Normal file
View File

@ -0,0 +1,9 @@
"use strict";
exports.__esModule = true;
exports.isMobile = isMobile;
function isMobile(value) {
value = value.replace(/[^-|\d]/g, '');
return /^((\+86)|(86))?(1)\d{10}$/.test(value) || /^0[0-9-]{10,13}$/.test(value);
}