From 5bd90ea0d11d7b136488d28f52806ae88c481026 Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Wed, 8 Apr 2020 15:32:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E8=AE=AD=E6=93=8D=E4=BD=9C=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E7=AD=9B=E9=80=89=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/lesson/trainingmanage/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/lesson/trainingmanage/index.vue b/src/views/lesson/trainingmanage/index.vue index ca41d69d0..badedc87e 100644 --- a/src/views/lesson/trainingmanage/index.vue +++ b/src/views/lesson/trainingmanage/index.vue @@ -200,8 +200,8 @@ export default { for ( val in CMD['Station']) { this.trainingOperateTypeMap['Station'].push(CMD['Station'][val]); } - for ( val in CMD['Station']) { - this.trainingOperateTypeMap['ControlConvertMenu'].push(CMD['Station'][val]); + for ( val in CMD['ControlConvertMenu']) { + this.trainingOperateTypeMap['ControlConvertMenu'].push(CMD['ControlConvertMenu'][val]); } for ( val in CMD['Train']) { this.trainingOperateTypeMap['TrainWindow'].push(CMD['Train'][val]); @@ -228,7 +228,7 @@ export default { if (res && res.code === 200) { res.data.forEach(item => { this.trainingOperateTypeMap[item.operateObject].forEach(ele => { - if (ele.value === item.operate) { + if (ele.value == item.operate) { operateTypeMap[item.operateObject].push(ele); } });