Explorar el Código

首页增加藏品级别图表

shaogen1995 hace 1 año
padre
commit
35aeadad0d
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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 = {