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 },