Explorar o código

Update index.tsx

lex %!s(int64=2) %!d(string=hai) anos
pai
achega
9a35868c82
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  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 && (
                         {!item.rankingList.length && (
                           <Empty
                           <Empty
                             image={IconEmtry}
                             image={IconEmtry}
-                            description="该曲目暂无排名喔~"
+                            description={`该${
+                              state.rankingMethod === 'TOTAL_SCORE'
+                                ? '声部'
+                                : '曲目'
+                            }暂无排名喔~`}
                           />
                           />
                         )}
                         )}
                       </div>
                       </div>