默认显示所有支持的格式文件, 不做过滤

This commit is contained in:
Hunlongyu
2021-03-16 18:35:29 +08:00
parent b0fbdeef15
commit 40de0337be
2 changed files with 2 additions and 5 deletions

View File

@@ -379,8 +379,7 @@ export default {
}
const options = {
filters: [
{ name: 'JSON file', extensions: ['json'] },
{ name: 'Text file', extensions: ['txt'] }
{ name: '支持的文件格式', extensions: ['json', 'txt'] }
],
properties: ['openFile', 'multiSelections']
}

View File

@@ -351,9 +351,7 @@ export default {
}
const options = {
filters: [
{ name: 'm3u file', extensions: ['m3u', 'm3u8'] },
{ name: 'JSON file', extensions: ['json'] },
{ name: 'Text file', extensions: ['txt'] }
{ name: '支持的文件格式', extensions: ['m3u', 'm3u8', 'json', 'txt'] }
],
properties: ['openFile', 'multiSelections']
}