소스 검색

更新显示

lex 2 년 전
부모
커밋
f9fbb84236
2개의 변경된 파일8개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      src/student/share-active/track-review-activity/index.tsx
  2. 4 0
      src/teacher/share-page/track-review-activity/index.tsx

+ 4 - 1
src/student/share-active/track-review-activity/index.tsx

@@ -482,7 +482,7 @@ export default defineComponent({
                     this.rankingMethod == 'TOTAL_SCORE' &&
                       styles.musicTitleScore
                   ]}
-                  isLink
+                  isLink={this.rankingMethod === 'TOTAL_SCORE' ? true : false}
                   v-slots={{
                     icon: () => (
                       <Image
@@ -504,6 +504,9 @@ export default defineComponent({
                     value: () => (
                       <span
                         onClick={() => {
+                          if (this.rankingMethod !== 'TOTAL_SCORE') {
+                            return
+                          }
                           this.$router.push({
                             path: '/track-subject-song',
                             query: {

+ 4 - 0
src/teacher/share-page/track-review-activity/index.tsx

@@ -286,6 +286,7 @@ export default defineComponent({
                     this.rankingMethod == 'TOTAL_SCORE' &&
                       styles.musicTitleScore
                   ]}
+                  isLink={this.rankingMethod === 'TOTAL_SCORE' ? true : false}
                   v-slots={{
                     icon: () => (
                       <Image
@@ -307,6 +308,9 @@ export default defineComponent({
                     value: () => (
                       <span
                         onClick={() => {
+                          if (this.rankingMethod !== 'TOTAL_SCORE') {
+                            return
+                          }
                           this.$router.push({
                             path: '/track-subject-song',
                             query: {