提交 fcd3ba99 authored 作者: 王鹏飞's avatar 王鹏飞

bug fixes

上级 e7cd653d
......@@ -221,6 +221,9 @@ export default {
},
// 显示作业评论
showComment() {
if (!this.detail.id) {
return false
}
const currentTime = new Date().getTime()
const endTime = +new Date(this.deadline)
return this.hasComment && currentTime > endTime && this.detail.status !== 1
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论