lex 2 anos atrás
pai
commit
57034de8dc

+ 2 - 1
src/student/share-active/track-review-activity/track-song.tsx

@@ -110,7 +110,8 @@ export default defineComponent({
     },
     calcScore() {
       const allScore = this.allScore as number
-      return Number(this.rankingScore - allScore)
+      const rankingScore = this.rankingScore as number
+      return Number(rankingScore - allScore)
     }
   },
   render() {

+ 3 - 2
src/views/share-page/track-review-activity/subject-song.tsx

@@ -48,12 +48,13 @@ export default defineComponent({
       if (!this.subjectId) {
         return ''
       }
-      const columns = this.columns
+      const columns = this.columns as any
       const list = columns.find((c: any) => c.value === this.subjectId)
       return list ? list.text : ''
     },
     selectSubjectList() {
-      const musicList = this.activeInfo.activityMusicVoList || []
+      const activeInfo = this.activeInfo as any
+      const musicList = activeInfo.activityMusicVoList || []
       const tmpList = musicList.filter(
         (music: any) => music.subjectId === this.subjectId
       )