This commit is contained in:
2026-04-29 17:46:12 +08:00
parent 8b9e35287c
commit 4d7c230abe

View File

@@ -93,6 +93,7 @@ export default {
name: 'YouthEditorialBoardRegistration', name: 'YouthEditorialBoardRegistration',
data() { data() {
return { return {
baseUrl: this.Common.baseUrl,
formData: { formData: {
engName: '', engName: '',
email: '', email: '',
@@ -279,7 +280,7 @@ export default {
const fd = new FormData(); const fd = new FormData();
fd.append('reviewerCV', file); fd.append('reviewerCV', file);
try { try {
const resp = await axios.post('/api/api/Ucenter/up_cv_file', fd, { const resp = await axios.post(`${this.baseUrl}api/Ucenter/up_cv_file`, fd, {
headers: { 'Content-Type': 'multipart/form-data' } headers: { 'Content-Type': 'multipart/form-data' }
}); });
const body = resp && resp.data ? resp.data : {}; const body = resp && resp.data ? resp.data : {};