wip
This commit is contained in:
parent
b2a8699edf
commit
5ffcfaeb00
|
|
@ -84,7 +84,10 @@
|
|||
},
|
||||
|
||||
uploadFile(file) {
|
||||
$http.post('plugins/import', file).then((res) => {
|
||||
let formData = new FormData();
|
||||
formData.append("file", file.file, file.file.name);
|
||||
|
||||
$http.post('plugins/import', formData).then((res) => {
|
||||
layer.msg(res.message)
|
||||
location.reload();
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue