소스 검색

首页增加藏品级别图表

shaogen1995 1 년 전
부모
커밋
35aeadad0d
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/pages/Home/index.tsx

+ 2 - 0
src/pages/Home/index.tsx

@@ -99,6 +99,8 @@ export default function Home() {
       }
     }
 
+    // list = list.sort((a: any, b: any) => b.count - a.count)
+
     const chartDom: any = document.querySelector('.chart')
     const myChart = echarts.getInstanceByDom(chartDom) || echarts.init(chartDom)
     const option = {