zhangjie 7 ay önce
ebeveyn
işleme
400d91ea71

+ 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;