merge
This commit is contained in:
parent
ad4168adf1
commit
2303b4ab82
|
@ -8,6 +8,7 @@ const toggleModal = () => {
|
||||||
isModalOpen.value = !isModalOpen.value
|
isModalOpen.value = !isModalOpen.value
|
||||||
}
|
}
|
||||||
const modal_phone = ref()
|
const modal_phone = ref()
|
||||||
|
const modal_name = ref()
|
||||||
const model_form = reactive({
|
const model_form = reactive({
|
||||||
disabled: true,
|
disabled: true,
|
||||||
errors: [],
|
errors: [],
|
||||||
|
@ -40,7 +41,7 @@ const submit = (e: any) => {
|
||||||
'Content-Type': 'application/json'
|
'Content-Type': 'application/json'
|
||||||
},
|
},
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
name: "from site",
|
name: modal_name || "ref from site",
|
||||||
phone: modal_phone.value
|
phone: modal_phone.value
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue