Browse Source

首页增加藏品级别图表

shaogen1995 8 tháng trước cách đây
mục cha
commit
35aeadad0d
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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 = {