fix: 🐛 The internationalization problem of repairing path selector

This commit is contained in:
viarotel 2024-07-23 14:37:40 +08:00
parent 95c0094a9a
commit 8e6af2087e

View File

@ -58,7 +58,10 @@ export default {
'show-open-dialog',
{
properties: properties || [],
filters: filters || [],
filters: (filters || []).map(item => ({
...item,
name: window.t(item.name),
})),
...(defaultPath
? {
defaultPath,