diff --git a/src/views/project/trainPlan/TrainPlanForm.vue b/src/views/project/trainPlan/TrainPlanForm.vue index 98eff1a..b2db8db 100644 --- a/src/views/project/trainPlan/TrainPlanForm.vue +++ b/src/views/project/trainPlan/TrainPlanForm.vue @@ -250,7 +250,7 @@ export default { this.form = res.data; this.selectedRows = res.data.projects; this.selectedRowKeys = res.data.projectIds; - this.disabled = this.$route.query.showDetail === 'true' ? true : false; + this.disabled = this.$route.query.showDetail; this.columns = this.columns.filter(item => { return item.key != 'createBy' }) this.columns = this.columns.filter(item => { return item.key != 'createDate' })