Repository navigation
fix(ctfile): 修正个人网盘目录勾选的回退行为 - #66
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
城通个人网盘只勾选目录条目(或勾选的文件已不在当前目录)时,勾选名匹配不上任何文件,
items保持整目录,面板随后列出整目录并申请整目录的直链——未勾选的文件被纳入下载范围。真机复现(v1.6.5):勾文件夹后点「下载助手」,面板「共 2 个文件」,直链请求的
file_ids带了两个文件。变更
aria-label取:真机上它是裸文件名,而整行可见文字是DLL111.dll25.6 MB2026-10-29 15:24(带类型徽标,名字与大小之间无分隔),拿它当名字无法可靠匹配;111.dll.bak不再把111.dll带出来;验证
node --check通过;ctfile_check.js全部通过(勾选用例随之更新:对不上文件名时断言报错面板文案,不再是空面板);file_ids单个 fid;影响
仅城通个人网盘的选取链(
_driveLink);分享页与目录页走_checkedRowIds,不受影响。@version未变。