This commit is contained in:
Kseninia Mikhaylova 2024-06-07 16:21:53 +03:00
parent ad4168adf1
commit 2303b4ab82
1 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ const toggleModal = () => {
isModalOpen.value = !isModalOpen.value
}
const modal_phone = ref()
const modal_name = ref()
const model_form = reactive({
disabled: true,
errors: [],
@ -40,7 +41,7 @@ const submit = (e: any) => {
'Content-Type': 'application/json'
},
body: JSON.stringify({
name: "from site",
name: modal_name || "ref from site",
phone: modal_phone.value
})
})