import { MessageBox } from "element-ui"
MessageBox("", "", {
showInput: true,
inputValue: "haha",
confirmButtonText: "",
cancelButtonText: "",
inputPattern: /[\w!-sharp$%&"*+/=?^_`{|}~-]+(?:\.[\w!-sharp$%&"*+/=?^_`{|}~-]+)*@(?:[\w](?:[\w-]*[\w])?\.)+[\w](?:[\w-]*[\w])?/,
inputErrorMessage: ""
}).then(({ value }) => {
console.log(value)
}).catch(() => {
})
}
what if the input box doesn"t come out?