From 9d2e1585437b3c03ba4a263a3497d8aa0ae679a8 Mon Sep 17 00:00:00 2001 From: hbzgyjh Date: Mon, 27 Dec 2021 11:18:06 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E5=88=97=E8=A1=A8=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E5=88=86=E7=B3=BB=E7=BB=9F=E9=A1=B9=E7=9B=AE=E4=B8=8E?= =?UTF-8?q?=E4=B8=8E=E8=87=AA=E4=B8=BB=E9=A1=B9=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/project/ProjectStepForm.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/project/ProjectStepForm.vue b/src/views/project/ProjectStepForm.vue index ffbdb6a..36cc8f0 100644 --- a/src/views/project/ProjectStepForm.vue +++ b/src/views/project/ProjectStepForm.vue @@ -58,6 +58,7 @@ export default { //生命周期 - 创建完成(可以访问当前this实例) created() { console.log('分步表单创建完成', this.$route) + if(this.$route.query.t === 'self') this.form.projectType = 1; }, destroyed() { console.log('分步表单销毁了。。。。。') @@ -82,7 +83,7 @@ export default { type: '', form: { t: this.$route.query.t, - projectType: this.$route.query.t === 'sys' ? 0 : 1, + projectType: 0, trainWay: '1', totalScore: 0 },