ソースを参照

Update index.tsx

lex 6 ヶ月 前
コミット
1bbc22c3e4
1 ファイル変更3 行追加1 行削除
  1. 3 1
      src/views/coursewarePlay/index.tsx

+ 3 - 1
src/views/coursewarePlay/index.tsx

@@ -319,7 +319,9 @@ export default defineComponent({
                     ? item.materialRefs
                     : [];
                   const materialMusicId =
-                    materialRefs.length > 0 ? materialRefs[0].resourceId : null;
+                    materialRefs.length > 0
+                      ? materialRefs[0].resourceIdStr
+                      : null;
                   return {
                     ...item,
                     materialMusicId,