This commit is contained in:
gongjiale 2022-11-03 17:43:41 +08:00
parent 14f82809f6
commit 7b334a0224
2 changed files with 11 additions and 10 deletions

View File

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

View File

@ -21,16 +21,16 @@ const previousPage = () => {
// this.$router.push({name: this.$store.state.previousRouter.name});
// }
// // let val = router.go(-1)
window.history.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">