소스 검색

[Fix 0000] 调整公司端看板排序

houzekong 1 년 전
부모
커밋
4b0e645aeb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/vent/home/billboard/billboard.api.ts

+ 1 - 1
src/views/vent/home/billboard/billboard.api.ts

@@ -21,7 +21,7 @@ export const getSummary: () => Promise<BillboardType[]> = () =>
       },
     })
     .then((res: BillboardType[]) => {
-      return res.sort((r) => {
+      return res.reverse().sort((r) => {
         return r.orgname ? -1 : 1;
       });
     });