File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -201,8 +201,6 @@ onActivated(() => {
201201 } else {
202202 // 是否相同专辑
203203 const isSame = detailData .value ?.id === albumId .value ;
204- // 专辑不同
205- if (! isSame ) resetData (true );
206204 getAlbumDetail (albumId .value , isSame );
207205 }
208206});
Original file line number Diff line number Diff line change @@ -436,8 +436,6 @@ onActivated(() => {
436436 } else {
437437 // 是否不相同
438438 const isSame = oldPlaylistId .value === playlistId .value ;
439- // 歌单不同
440- if (! isSame ) resetPlaylistData (true );
441439 oldPlaylistId .value = playlistId .value ;
442440 // 刷新歌单
443441 getPlaylistDetail (playlistId .value , { getList: true , refresh: isSame });
Original file line number Diff line number Diff line change @@ -83,7 +83,6 @@ const {
8383 listData,
8484 loading,
8585 getSongListHeight,
86- resetData,
8786 setDetailData,
8887 setListData,
8988 appendListData,
@@ -276,8 +275,6 @@ onActivated(() => {
276275 } else {
277276 // 是否不相同
278277 const isSame = oldRadioId .value === radioId .value ;
279- // 播客不同,先立即清空数据,避免显示上一个播客
280- if (! isSame ) resetData (true );
281278 oldRadioId .value = radioId .value ;
282279 // 刷新播客
283280 if (! isSame ) getRadioDetail (radioId .value );
You can’t perform that action at this time.
0 commit comments