diff --git a/src/views/trainingPlatform/demonList.vue b/src/views/trainingPlatform/demonList.vue index a1727bc17..c7e2bb97d 100644 --- a/src/views/trainingPlatform/demonList.vue +++ b/src/views/trainingPlatform/demonList.vue @@ -198,8 +198,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]}); }