@@ -37,7 +37,7 @@ function onSubmit() {
return
}
toastLoading('保存中', 0)
- const url = props.formValue.id ? '/contacts/updateContacts' : CUSTOMER_ADDED_EDITOR
+ const url = props.formValue.id ? '/contacts/updateContacts' : CONTACT_PERSON_ADDITION_EDITOR
requests.post(url, { ...props.formValue, ...res.data }).then(() => {
toastSuccess('保存成功')
setTimeout(() => {