MessageBox: update doc (#12465)

pull/12467/head
hetech 2018-08-22 19:44:07 +08:00 committed by GitHub
parent a372dad133
commit ea45d54b67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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