Kaynağa Gözat

修复分布

lex 1 yıl önce
ebeveyn
işleme
5412873fa1
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 2 0
      src/views/hot-music-more/index.tsx

+ 2 - 0
src/views/hot-music-more/index.tsx

@@ -48,6 +48,8 @@ export default defineComponent({
         if (res.code === 200 && Array.isArray(res?.data?.rows)) {
           state.musics = [...state.musics, ...res.data.rows];
           state.finished = !res.data.next;
+          musicForms.page = res.data.current + 1;
+          // state.listState.dataShow = state.list.length > 0;
         }
       } catch (error) {
         // console.log('🚀 ~ error:', error);