Offer a reward of 20 yuan to find someone to solve the problem of using elementUI to pop up two input boxes on pure js pages.

pure js page

pure js page

pure js page

http://element-cn.eleme.io/-sharp/.

using this component in a pure js page, pop up two input input boxes to get the input value

my code

import { MessageBox } from "element-ui"

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

but the input box won"t come out in this way,




https://github.com/ElemeFE/el...



JSFiddle,

confirm prompt MessageBox.confirmMessageBox.prompt

clipboard.png

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e5232d-4518d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e5232d-4518d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?