调整虚拟屏蔽门登录跳转路径

This commit is contained in:
fan 2020-07-08 16:43:18 +08:00
parent 5edd9f536e
commit 3196304f1c

View File

@ -438,6 +438,11 @@ export default {
projectDevice: this.$route.query.projectDevice,
type: this.$route.query.type
}});
} else if (this.$route.query.type === 'VR_PSD') {
if (res.data.deviceVO && res.data.deviceVO.config) {
query.psdCode = JSON.parse(res.data.deviceVO.config).psdCode;
}
this.$router.push({ path: `/jointTrainingNew`, query: query });
} else {
this.$router.push({ path: `/jointTrainingNew`, query: query });
}