提交
This commit is contained in:
@@ -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 : {};
|
||||||
|
|||||||
Reference in New Issue
Block a user