From c76240f081a8b6aad4128844defca67721e3ced8 Mon Sep 17 00:00:00 2001 From: Yjhon Date: Thu, 19 May 2022 14:30:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=B9=E8=AE=AD=E8=AE=A1=E5=88=92=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E6=9C=AA=E7=94=9F=E6=95=88=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/project/trainPlan/TrainPlanForm.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' })