fix(项目文件更新): 修复项目文件更新时地址多了一个/

This commit is contained in:
Captain.B 2021-04-02 12:03:09 +08:00 committed by 刘瑞斌
parent abb6895f08
commit 1bd3e87503
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ export default {
} }
let formData = new FormData(); let formData = new FormData();
let url = '/project/update/file/' + '/' + this.currentRow.id let url = '/project/update/file/' + this.currentRow.id
formData.append("file", file); formData.append("file", file);
let options = { let options = {
method: 'POST', method: 'POST',