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