ドライブのファイルの削除を実装
This commit is contained in:
parent
ad8aa1c179
commit
bd827f946a
8 changed files with 98 additions and 39 deletions
|
|
@ -145,7 +145,7 @@ export default Vue.extend({
|
|||
(this as any).api('drive/files/update', {
|
||||
fileId: this.file.id,
|
||||
name: name
|
||||
})
|
||||
});
|
||||
});
|
||||
},
|
||||
|
||||
|
|
@ -173,7 +173,9 @@ export default Vue.extend({
|
|||
},
|
||||
|
||||
deleteFile() {
|
||||
alert('not implemented yet');
|
||||
(this as any).api('drive/files/delete', {
|
||||
fileId: this.file.id
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue