|
@@ -82,8 +82,8 @@ export default defineComponent({
|
|
|
coverImg: row.coverImg || row.musicSvg,
|
|
|
type: 'MUSIC',
|
|
|
title: row.name,
|
|
|
- isCollect: false,
|
|
|
- isSelected: true,
|
|
|
+ isCollect: !!row.favoriteFlag,
|
|
|
+ isSelected: row.sourceFrom === 'PLATFORM' ? true : false,
|
|
|
content: row.id,
|
|
|
xmlFileUrl: row.xmlFileUrl,
|
|
|
exist: index !== -1 ? true : false // 是否存在
|