答案 0 :(得分:1)
您需要添加 输入: '编号'
{
name: 'phone',
placeholder: 'phone',
type: 'number'
}
检查API文档 https://ionicframework.com/docs/v2/api/components/alert/AlertController/
答案 1 :(得分:-2)
{
name: 'phone',
placeholder: 'phone',
type: 'number'
}