zhangjie 7 luni în urmă
părinte
comite
400d91ea71
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      src/modules/course/components/CourseDocumentDetail.vue

+ 1 - 1
src/modules/course/components/CourseDocumentDetail.vue

@@ -270,7 +270,7 @@ export default {
     toView(row) {
       // 试卷样卷
       if (row.type === "PAPER") {
-        const filePath = row.filePath ? JSON.parse(filePath) : [];
+        const filePath = row.filePath ? JSON.parse(row.filePath) : [];
         if (!filePath.length) {
           this.$message.error("当前无文档可查看");
           return;