From 9fd2b1d847bae2a35d2785172792bc09c66a77fb Mon Sep 17 00:00:00 2001 From: wuyize Date: Thu, 14 Jul 2022 11:18:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=B2=E7=BB=93=E9=A1=B9=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E5=88=B0=E5=B7=B2=E7=BB=93=E9=A1=B9=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Project.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/Project.vue b/src/views/Project.vue index 3a7b2d4..9222066 100644 --- a/src/views/Project.vue +++ b/src/views/Project.vue @@ -126,7 +126,10 @@ export default { this.getProjectInfo(); }, back() { - router.push({path: '/'}) + if(this.project.completed===true) + router.push({path: '/project/closed'}) + else + router.push({path: '/'}) }, getStaffFullname() { return this.$store.state.staff === null ? ' ' : this.$store.state.staff.staffFullname