This commit is contained in:
parent
14f82809f6
commit
7b334a0224
|
@ -140,7 +140,8 @@ export default {
|
|||
},
|
||||
// 详情
|
||||
showDetail(val) {
|
||||
window.open(window.SITE_CONFIG.previewUrl + '#/packagingDetails?id=' + val.id)
|
||||
// window.open(window.SITE_CONFIG.previewUrl + '#/packagingDetails?id=' + val.id)
|
||||
window.open(window.SITE_CONFIG.previewUrl + '#/integrationServicesDetails?id=' + val.id)
|
||||
},
|
||||
// showDocument(val) {
|
||||
// console.log(val);
|
||||
|
|
|
@ -21,16 +21,16 @@ const previousPage = () => {
|
|||
// this.$router.push({name: this.$store.state.previousRouter.name});
|
||||
// }
|
||||
// // let val = router.go(-1)
|
||||
|
||||
debugger
|
||||
let current= router.currentRoute.value.path
|
||||
if(current==='/integrationServicesDetails'){
|
||||
router.push({
|
||||
path: '/integrationServices',
|
||||
})
|
||||
}else{
|
||||
window.history.go(-1)
|
||||
}
|
||||
// router.beforeEach((to, from, next) => {
|
||||
// debugger
|
||||
// // console.log('跳转路由=========>', to, from, next)
|
||||
// document.documentElement.scrollTop = 0
|
||||
// document.body.scrollTop = 0
|
||||
// next()
|
||||
// })
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="less">
|
||||
|
|
Loading…
Reference in New Issue