|
@@ -143,7 +143,7 @@
|
|
this.$prompt('请输入邮箱', '提示', {
|
|
this.$prompt('请输入邮箱', '提示', {
|
|
inputPattern: /[\w!#$%&'*+/=?^_`{|}~-]+(?:\.[\w!#$%&'*+/=?^_`{|}~-]+)*@(?:[\w](?:[\w-]*[\w])?\.)+[\w](?:[\w-]*[\w])?/,
|
|
inputPattern: /[\w!#$%&'*+/=?^_`{|}~-]+(?:\.[\w!#$%&'*+/=?^_`{|}~-]+)*@(?:[\w](?:[\w-]*[\w])?\.)+[\w](?:[\w-]*[\w])?/,
|
|
inputErrorMessage: '邮箱格式不正确'
|
|
inputErrorMessage: '邮箱格式不正确'
|
|
- }).then(value => {
|
|
|
|
|
|
+ }).then(({ value }) => {
|
|
this.$message({
|
|
this.$message({
|
|
type: 'success',
|
|
type: 'success',
|
|
message: '你的邮箱是: ' + value
|
|
message: '你的邮箱是: ' + value
|