Ionic2 离子2警报提示
我用的是离子2 有人知道如何确保只接受数字吗 默认情况下,它可以接受自由文本 谢谢您需要添加 类型:'number'Ionic2 离子2警报提示,ionic2,Ionic2,我用的是离子2 有人知道如何确保只接受数字吗 默认情况下,它可以接受自由文本 谢谢您需要添加 类型:'number' { name: 'phone', placeholder: 'phone', type: 'number' } 检查API文档 您刚刚回答了上述问题。 { name: 'phone', placeholder: 'phone', type: 'number' }
{
name: 'phone',
placeholder: 'phone',
type: 'number'
}
检查API文档
您刚刚回答了上述问题。
{
name: 'phone',
placeholder: 'phone',
type: 'number'
}