mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 11:26:43 +08:00
吸顶bug修复
This commit is contained in:
@@ -665,7 +665,8 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
beforeRouteLeave (to, from, next) {
|
beforeRouteLeave (to, from, next) {
|
||||||
if(to.name !== 'caseDetail'&&to.name !=='caseCharts'&&to.name !=='caseExcellent'){
|
const isScroll = 'caseDetail,caseCharts,caseExcellent'
|
||||||
|
if(!isScroll.includes(to.name)){
|
||||||
// console.log('我是外')
|
// console.log('我是外')
|
||||||
this.queryCondition.pageIndex = 1
|
this.queryCondition.pageIndex = 1
|
||||||
this.search()
|
this.search()
|
||||||
@@ -688,6 +689,7 @@ export default {
|
|||||||
top: JSON.parse(sessionStorage.getItem("pagesScroll")),
|
top: JSON.parse(sessionStorage.getItem("pagesScroll")),
|
||||||
})
|
})
|
||||||
sessionStorage.removeItem("pagesScroll")
|
sessionStorage.removeItem("pagesScroll")
|
||||||
|
vm.allRequests()
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user