mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 03:01:12 +00:00
fix: 任务详情窗口不显示子任务
This commit is contained in:
parent
91f25e9ec3
commit
261f7ebbc2
@ -693,17 +693,20 @@ export default {
|
||||
immediate: true,
|
||||
deep: true
|
||||
},
|
||||
taskId (id) {
|
||||
if (id > 0) {
|
||||
this.ready = true;
|
||||
} else {
|
||||
this.timeOpen = false;
|
||||
this.timeForce = false;
|
||||
this.assistForce = false;
|
||||
this.addsubForce = false;
|
||||
this.$refs.owner && this.$refs.owner.handleClose();
|
||||
this.$refs.assist && this.$refs.assist.handleClose();
|
||||
}
|
||||
taskId: {
|
||||
handler(id) {
|
||||
if (id > 0) {
|
||||
this.ready = true;
|
||||
} else {
|
||||
this.timeOpen = false;
|
||||
this.timeForce = false;
|
||||
this.assistForce = false;
|
||||
this.addsubForce = false;
|
||||
this.$refs.owner && this.$refs.owner.handleClose();
|
||||
this.$refs.assist && this.$refs.assist.handleClose();
|
||||
}
|
||||
},
|
||||
immediate: true
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user