mirror of
https://github.com/yaobiao131/downkyicore.git
synced 2025-08-10 00:52:31 +00:00
fix: 合集选中使用cid区分
This commit is contained in:
@@ -356,9 +356,9 @@ public class ViewVideoDetailViewModel : ViewModelBase
|
||||
{
|
||||
return;
|
||||
}
|
||||
var avids = new HashSet<long>(parameter.Cast<VideoPage>().Select(x => x.Avid));
|
||||
var avids = new HashSet<long>(parameter.Cast<VideoPage>().Select(x => x.Cid));
|
||||
section.VideoPages.ToList().ForEach(videoPage =>
|
||||
videoPage.IsSelected = avids.Contains(videoPage.Avid)
|
||||
videoPage.IsSelected = avids.Contains(videoPage.Cid)
|
||||
);
|
||||
IsSelectAll = section.VideoPages.Count == videoPages.Count && section.VideoPages.Count != 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user