提交 e59bb059 authored 作者: haodaking's avatar haodaking

chore: 修改作业提交逻辑

上级 cb15e91b
......@@ -232,7 +232,9 @@ export default {
return this.hasComment && currentTime >= startTime && this.detail.status !== 1
},
disabled() {
return this.detail.status === 0
// 已提交
const isSubmit = !!this.detail.created_time
return this.detail.status === 0 || (isSubmit && !this.isWorkTime)
// if (this.detail.status === 1) {
// return false
// }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论