三方跳转不设置子系统节点

This commit is contained in:
fan 2022-10-28 14:20:56 +08:00
parent 401e09cdee
commit 313c587314

View File

@ -199,8 +199,10 @@ export default {
this.$nextTick(() => {
let checkId = localStore.get('trainingPlatformCheckId' + filterSelect + this.userId + this.project) || null;
checkId = checkId && checkId.includes('-') ? checkId : null;
this.$refs.tree && this.$refs.tree.setCurrentKey(checkId);
if (!this.$route.path.includes('result') && !this.$route.path.includes('/trainingPlatform/teach/')) {
if (!this.$route.query.thirdJump) {
this.$refs.tree && this.$refs.tree.setCurrentKey(checkId);
}
if (!this.$route.path.includes('result') && !this.$route.path.includes('/trainingPlatform/teach/') && !this.$route.query.thirdJump) {
checkId && this.findTree(this.treeList, checkId);
!checkId && this.treeList && this.treeList.length && this.clickEvent(this.treeList[0], {data: this.treeList[0]});
}