This commit is contained in:
syuilo 2018-02-18 12:35:18 +09:00
parent 61b95e0c26
commit 99b3499364
103 changed files with 878 additions and 790 deletions

View file

@ -73,7 +73,7 @@ export default Vue.extend({
if (obj.type == 'file') {
const file = obj.id;
this.browser.removeFile(file);
this.$root.$data.os.api('drive/files/update', {
(this as any).api('drive/files/update', {
file_id: file,
folder_id: this.folder ? this.folder.id : null
});
@ -83,7 +83,7 @@ export default Vue.extend({
// reject
if (this.folder && folder == this.folder.id) return false;
this.browser.removeFolder(folder);
this.$root.$data.os.api('drive/folders/update', {
(this as any).api('drive/folders/update', {
folder_id: folder,
parent_id: this.folder ? this.folder.id : null
});