修复所有lint警告和错误

This commit is contained in:
xintaofei
2026-03-26 21:47:13 +08:00
parent 5e5c48338b
commit f61f9fb025
20 changed files with 138 additions and 93 deletions

View File

@@ -753,6 +753,7 @@ export function MessageInput({
const selected = await openFileDialog({
multiple: true,
directory: false,
defaultPath,
})
if (!selected) return
const picked = Array.isArray(selected) ? selected : [selected]