adata-ui 0.1.69 → 0.1.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adata-ui.common.js +29 -28
- package/dist/adata-ui.common.js.map +1 -1
- package/dist/adata-ui.css +1 -1
- package/dist/adata-ui.umd.js +29 -28
- package/dist/adata-ui.umd.js.map +1 -1
- package/dist/adata-ui.umd.min.js +2 -2
- package/dist/adata-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/MailTo/MailTo.vue +2 -2
package/package.json
CHANGED
|
@@ -80,7 +80,7 @@ export default {
|
|
|
80
80
|
},
|
|
81
81
|
onSubmitForm() {
|
|
82
82
|
const regex = new RegExp('^[\\w-\\.]+@([\\w-]+\\.)+[\\w-]{2,4}$')
|
|
83
|
-
|
|
83
|
+
this.email = this.userEmail
|
|
84
84
|
if(!this.email.length || !regex.test(this.email)) {
|
|
85
85
|
this.emailError = 'Введите валидыный email';
|
|
86
86
|
return;
|
|
@@ -106,7 +106,7 @@ export default {
|
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
try {
|
|
109
|
-
const response = await fetch('https://users.
|
|
109
|
+
const response = await fetch('https://users.adata.kz/api/v1/message/regards', {
|
|
110
110
|
method: "POST",
|
|
111
111
|
headers: {
|
|
112
112
|
'Content-Type': 'application/json'
|