import { MessageBox } from 'element-ui'
MessageBox('请输入邮箱', '提示', {
showInput: true,
inputValue: 'haha',
confirmButtonText: '确定',
cancelButtonText: '取消',
inputPattern: /[\w!#$%&'*+/=?^_`{|}~-]+(?:\.[\w!#$%&'*+/=?^_`{|}~-]+)*@(?:[\w](?:[\w-]*[\w])?\.)+[\w](?:[\w-]*[\w])?/,
inputErrorMessage: '邮箱格式不正确'
}).then(({ value }) => {
console.log(value)
}).catch(() => {
})
}
input框出不来怎么办啊