mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
feat(Sku): complete the notes
This commit is contained in:
parent
19e0d0df0e
commit
5cce17ab4b
@ -111,7 +111,11 @@ export default createComponent({
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* The phone number copied from IOS mobile phone address book
|
||||
* will add spaces and invisible Unicode characters
|
||||
* which cannot pass the /^\d+$/ verification
|
||||
*/
|
||||
getFormatter(message) {
|
||||
return function formatter(value) {
|
||||
if (message.type === 'mobile' || message.type === 'tel') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user