Why is the showInput property of elementUI's MessageBox invalid?

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?

Jun.21,2021

    this.$alert('', '', {
      confirmButtonText: '',
      callback: action => {
        this.$message({
          type: 'info',
          message: `action: ${ action }`
        });
      }

import { MessageBox } from 'element-ui'

MessageBox.prompt('', '', {
    inputValue: 'haha',
    confirmButtonText: '',
    cancelButtonText: '',
    inputPattern: /[\w!-sharp$%&'*+/=?^_`{|}~-]+(?:\.[\w!-sharp$%&'*+/=?^_`{|}~-]+)*@(?:[\w](?:[\w-]*[\w])?\.)+[\w](?:[\w-]*[\w])?/,
    inputErrorMessage: ''
  }).then(({ value }) => {
    console.log(value)
  }).catch(() => {
  })
Menu