diff --git a/public/react/src/modules/courses/busyWork/CommonWorkDetailIndex.js b/public/react/src/modules/courses/busyWork/CommonWorkDetailIndex.js index b5fb8b047..8985aa07e 100644 --- a/public/react/src/modules/courses/busyWork/CommonWorkDetailIndex.js +++ b/public/react/src/modules/courses/busyWork/CommonWorkDetailIndex.js @@ -286,8 +286,8 @@ class CommonWorkDetailIndex extends Component{ seeworks={undefined} reviseAttachmentUrl={`/student_works/${work_id || studentWorkId}/revise_attachment.json`} />:""} - 补交附件 diff --git a/public/react/src/modules/courses/busyWork/CommonWorkList.js b/public/react/src/modules/courses/busyWork/CommonWorkList.js index a489e7c3d..56ae40e2d 100644 --- a/public/react/src/modules/courses/busyWork/CommonWorkList.js +++ b/public/react/src/modules/courses/busyWork/CommonWorkList.js @@ -640,6 +640,8 @@ class CommonWorkList extends Component{ } else if (time_status === 4) { timeMsg = '申诉剩余时间' } + + const hasData = student_works && !!student_works.length && page == 1 // console.log(StudentData) // console.log(student_works) @@ -691,7 +693,7 @@ class CommonWorkList extends Component{ } `}
- { isAdmin &&