Refactor
This commit is contained in:
parent
7cdb790f4e
commit
d5f92eed8c
69 changed files with 314 additions and 330 deletions
|
|
@ -50,7 +50,7 @@ export default Vue.extend({
|
|||
reader.readAsDataURL(file);
|
||||
|
||||
const data = new FormData();
|
||||
data.append('i', (this as any).os.i.token);
|
||||
data.append('i', this.$store.state.i.token);
|
||||
data.append('file', file);
|
||||
|
||||
if (folder) data.append('folderId', folder);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue