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