wip
This commit is contained in:
parent
9c0521316d
commit
6573f36485
8 changed files with 47 additions and 29 deletions
|
|
@ -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', {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue