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

This commit is contained in:
fan 2022-10-28 14:20:56 +08:00
parent 386cd20086
commit 320fa691d5

View File

@ -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]});
}