Commit 2e3c0b4f authored by 赵啸非's avatar 赵啸非

Merge remote-tracking branch 'origin/master'

parents 136e558c 6a9f4c68
...@@ -525,6 +525,7 @@ export default { ...@@ -525,6 +525,7 @@ export default {
async uploadFile(file) { async uploadFile(file) {
let formData = new FormData(); let formData = new FormData();
formData.append("file", file); formData.append("file", file);
formData.append("siteId", this.siteId);
let config = { let config = {
headers: { headers: {
"Content-Type": "multipart/form-data", "Content-Type": "multipart/form-data",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment