mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-07 13:34:08 +08:00
简化编排文件处理中的文件选择逻辑
This commit is contained in:
parent
3ba9593d97
commit
97ce5fa965
@ -70,7 +70,10 @@
|
|||||||
dialog: {
|
dialog: {
|
||||||
options: {
|
options: {
|
||||||
title: '选择文件',
|
title: '选择文件',
|
||||||
properties: ['openDirectory', 'openFile', 'showHiddenFiles'],
|
properties: [
|
||||||
|
argvs.operation === 'list' ? 'openDirectory' : 'openFile',
|
||||||
|
'showHiddenFiles',
|
||||||
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}"
|
}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user