Commit ea45d54b authored by hetech's avatar hetech Committed by GitHub

MessageBox: update doc (#12465)

parent a372dad1
......@@ -239,7 +239,7 @@ Prompt is used when user input is required.
cancelButtonText: 'Cancel',
inputPattern: /[\w!#$%&'*+/=?^_`{|}~-]+(?:\.[\w!#$%&'*+/=?^_`{|}~-]+)*@(?:[\w](?:[\w-]*[\w])?\.)+[\w](?:[\w-]*[\w])?/,
inputErrorMessage: 'Invalid Email'
}).then(value => {
}).then(({ value }) => {
this.$message({
type: 'success',
message: 'Your email is:' + value
......
......@@ -240,7 +240,7 @@ Prompt es utilizado cuando se requiere entrada de informacion del usuario.
cancelButtonText: 'Cancel',
inputPattern: /[\w!#$%&'*+/=?^_`{|}~-]+(?:\.[\w!#$%&'*+/=?^_`{|}~-]+)*@(?:[\w](?:[\w-]*[\w])?\.)+[\w](?:[\w-]*[\w])?/,
inputErrorMessage: 'Invalid Email'
}).then(value => {
}).then(({ value }) => {
this.$message({
type: 'success',
message: 'Your email is:' + value
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment