アバターファイル選択でimage以外は表示しないように (#5098)

This commit is contained in:
MeiMei 2019-07-04 14:31:30 +09:00 committed by syuilo
parent 5e7a4e4752
commit 97002400a8
6 changed files with 18 additions and 1 deletions

View file

@ -91,6 +91,7 @@ export default ($root: any) => {
? Promise.resolve(file)
: $root.$chooseDriveFile({
multiple: false,
type: 'image/*',
title: locale['desktop']['choose-avatar']
});

View file

@ -91,6 +91,7 @@ export default ($root: any) => {
? Promise.resolve(file)
: $root.$chooseDriveFile({
multiple: false,
type: 'image/*',
title: locale['desktop']['choose-banner']
});