🐛Fix: 修复请求路径错误
This commit is contained in:
@@ -124,7 +124,7 @@ const submitForm = async () => {
|
||||
message.value = ''
|
||||
|
||||
// 发送请求
|
||||
const response = await axios.post('http:localhost:8080/api/email/send', formData, {
|
||||
const response = await axios.post('http://localhost:8080/api/email/send', formData, {
|
||||
headers: {
|
||||
'Content-Type': 'multipart/form-data'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user