📜  sweetalert2 - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:47.632000             🧑  作者: Mango

代码示例5
const { value: email } = await Swal.fire({  title: 'Input email address',  input: 'email',  inputLabel: 'Your email address',  inputPlaceholder: 'Enter your email address'})if (email) {  Swal.fire(`Entered email: ${email}`)}