Skip to content

Commit

Permalink
MessageBox: update doc (#12465)
Browse files Browse the repository at this point in the history
  • Loading branch information
ziyoung authored Aug 22, 2018
1 parent a372dad commit ea45d54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/docs/en-US/message-box.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/docs/es/message-box.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ea45d54

Please sign in to comment.