Browse Source

首页增加藏品级别图表

shaogen1995 8 months ago
parent
commit
35aeadad0d
1 changed files with 2 additions and 0 deletions
  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 chartDom: any = document.querySelector('.chart')
     const myChart = echarts.getInstanceByDom(chartDom) || echarts.init(chartDom)
     const myChart = echarts.getInstanceByDom(chartDom) || echarts.init(chartDom)
     const option = {
     const option = {