소스 검색

Update index.tsx

lex 2 년 전
부모
커밋
9a35868c82
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      src/teacher/leaderboard/index.tsx

+ 5 - 1
src/teacher/leaderboard/index.tsx

@@ -197,7 +197,11 @@ export default defineComponent({
                         {!item.rankingList.length && (
                           <Empty
                             image={IconEmtry}
-                            description="该曲目暂无排名喔~"
+                            description={`该${
+                              state.rankingMethod === 'TOTAL_SCORE'
+                                ? '声部'
+                                : '曲目'
+                            }暂无排名喔~`}
                           />
                         )}
                       </div>