This commit is contained in:
syuilo 2018-02-21 05:55:19 +09:00
parent 9c0521316d
commit 6573f36485
8 changed files with 47 additions and 29 deletions

View file

@ -45,11 +45,7 @@ export default Vue.extend({
},
methods: {
updateAvatar() {
(this as any).apis.chooseDriveFile({
multiple: false
}).then(file => {
(this as any).apis.updateAvatar(file);
});
(this as any).apis.updateAvatar();
},
save() {
(this as any).api('i/update', {