diff --git a/src/components/Monthly/MonthlyDetail.vue b/src/components/Monthly/MonthlyDetail.vue index 7c56ecd..7517b14 100644 --- a/src/components/Monthly/MonthlyDetail.vue +++ b/src/components/Monthly/MonthlyDetail.vue @@ -289,7 +289,6 @@ export default { }) window.open(pathInfo.href, '_self'); // console.log(parseInt(this.selectMonly) + " " + parseInt(this.MonethlyId) ) - this.$router.go(0); }else{ this.$message({ message: '请输入正确的月刊号', @@ -310,7 +309,6 @@ export default { } }) window.open(pathInfo.href, '_self'); - this.$router.go(0); }else if(name == "LastBtn" && this.MonthlyId == 1){ this.$message({ message: '您已处于第一期月刊!', @@ -327,7 +325,6 @@ export default { } }) window.open(pathInfo.href, '_self'); - this.$router.go(0); }else if(name == "NextBtn" && this.MonthlyId == this.Monely){ this.$message({ message: '您已处于最后一期月刊!', diff --git a/src/components/Monthly/MonthlyItems.vue b/src/components/Monthly/MonthlyItems.vue index 437bba9..91c6400 100644 --- a/src/components/Monthly/MonthlyItems.vue +++ b/src/components/Monthly/MonthlyItems.vue @@ -60,12 +60,10 @@ export default { let pathInfo = this.$router.resolve({ path: '/ProjectDetail', query:{ - id:id, - refresh:true + id:id, refresh: true } }) window.open(pathInfo.href, '_self'); - this.$router.go(0); } } }