fix: 无法设置修改子任务时间的情况

This commit is contained in:
kuaifan 2024-10-27 16:37:04 +08:00
parent 8eaff830ad
commit 2edbe4fb3f
2 changed files with 7 additions and 2 deletions

View File

@ -1170,7 +1170,12 @@ export default {
return
}
this.updateParams = Object.assign({}, params)
this.$refs.taskExistTipsRef?.isExistTask({
const tipsRef = this.$refs.taskExistTipsRef
if (!tipsRef) {
resolve()
return
}
tipsRef.isExistTask({
taskid: this.taskDetail.id,
userids: this.taskDetail.owner_userid,
timerange: [params.start_at, params.end_at]

View File

@ -414,7 +414,7 @@
}
}
.clock {
margin: 3px 2px;
margin: 4px 2px 0;
font-size: 20px;
transition: all 0.2s;
transform: translateX(50%);