代码调整
This commit is contained in:
parent
bec6112216
commit
572643f80a
@ -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')) {
|
||||
// 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];
|
||||
|
Loading…
Reference in New Issue
Block a user