53e23037ec3e27a821d3cd1b3faddecf603bb549
问题: - toggleSelect 函数使用 'f.file_path || f.file_uuid' 作为 key - 对于 registered 文件,如果有 file_path 属性,会优先使用 file_path - 但是 is-selected class 和 checkbox 显示都检查 file_uuid - 导致 selectedFiles 中存的是 file_path,但检查的是 file_uuid,不匹配 修复: - 修改 toggleSelect 函数,优先使用 file_uuid('f.file_uuid || f.file_path') - 对于 registered 文件,确保使用 file_uuid - 对于 unregistered 文件,使用 file_path(因为没有 file_uuid)
Description
No description provided
Languages
D
64.9%
Rust
20.2%
Vue
9.6%
TypeScript
2.1%
CSS
1.7%
Other
1.5%