ソースを参照

Update index.tsx

lex 2 年 前
コミット
3580d444e9
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/views/music/album-detail/index.tsx

+ 1 - 1
src/views/music/album-detail/index.tsx

@@ -52,7 +52,7 @@ export default defineComponent({
     // const data = ref<any>(null)
     const rows = ref<any[]>([])
     const loading = ref(false)
-    const aId = route.query.activityId || ''
+    const aId = Number(route.query.activityId) || 0
     const studentActivityId = ref(aId)
     // const finished = ref(false)
     const isError = ref(false)