From 313c58731448491777dbc74e18a56643422f6106 Mon Sep 17 00:00:00 2001 From: fan Date: Fri, 28 Oct 2022 14:20:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=89=E6=96=B9=E8=B7=B3=E8=BD=AC=E4=B8=8D?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E5=AD=90=E7=B3=BB=E7=BB=9F=E8=8A=82=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/trainingPlatform/demonList.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/trainingPlatform/demonList.vue b/src/views/trainingPlatform/demonList.vue index 6a32f2603..6eb9fa6de 100644 --- a/src/views/trainingPlatform/demonList.vue +++ b/src/views/trainingPlatform/demonList.vue @@ -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]}); }