浏览代码

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,