アバターファイル選択でimage以外は表示しないように (#5098)
This commit is contained in:
parent
5e7a4e4752
commit
97002400a8
6 changed files with 18 additions and 1 deletions
|
|
@ -91,6 +91,7 @@ export default ($root: any) => {
|
|||
? Promise.resolve(file)
|
||||
: $root.$chooseDriveFile({
|
||||
multiple: false,
|
||||
type: 'image/*',
|
||||
title: locale['desktop']['choose-banner']
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue