From 261f7ebbc2633cec442a9246dd44d2be8a9046cb Mon Sep 17 00:00:00 2001 From: kuaifan Date: Sun, 26 Dec 2021 23:42:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BB=BB=E5=8A=A1=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E7=AA=97=E5=8F=A3=E4=B8=8D=E6=98=BE=E7=A4=BA=E5=AD=90=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../js/pages/manage/components/TaskDetail.vue | 25 +++++++++++-------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/resources/assets/js/pages/manage/components/TaskDetail.vue b/resources/assets/js/pages/manage/components/TaskDetail.vue index b30dabb68..585920a41 100644 --- a/resources/assets/js/pages/manage/components/TaskDetail.vue +++ b/resources/assets/js/pages/manage/components/TaskDetail.vue @@ -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 } },