diff --git a/src/scripts/cmdPlugin/CommandHandler.js b/src/scripts/cmdPlugin/CommandHandler.js index 6358afb53..332bcfea7 100644 --- a/src/scripts/cmdPlugin/CommandHandler.js +++ b/src/scripts/cmdPlugin/CommandHandler.js @@ -170,9 +170,9 @@ class CommandHandle { return new Promise((resolve, reject) => { const group = router.currentRoute.query.group; const newApi = router.currentRoute.query.newApi + ''; - if (router.currentRoute.path.includes('trainingDesign')) { - store.dispatch('trainingNew/setSceneOperate', {id, command}); - } + // if (router.currentRoute.path.includes('trainingDesign')) { + store.dispatch('trainingNew/setSceneOperate', {id, command}); + // } if (store.state.trainingNew.trainingSwitch && store.state.trainingNew.trainingDetail.type === 'SCENE') { const stepList = JSON.parse(store.state.trainingNew.trainingDetail.stepJson); const step = stepList[store.state.trainingNew.stepOrder - 1];