更新页面

This commit is contained in:
2023-07-09 10:21:19 +08:00
parent d06d06ada3
commit fd74c0479f
2 changed files with 1 additions and 6 deletions

View File

@@ -289,7 +289,6 @@ export default {
}) })
window.open(pathInfo.href, '_self'); window.open(pathInfo.href, '_self');
// console.log(parseInt(this.selectMonly) + " " + parseInt(this.MonethlyId) ) // console.log(parseInt(this.selectMonly) + " " + parseInt(this.MonethlyId) )
this.$router.go(0);
}else{ }else{
this.$message({ this.$message({
message: '请输入正确的月刊号', message: '请输入正确的月刊号',
@@ -310,7 +309,6 @@ export default {
} }
}) })
window.open(pathInfo.href, '_self'); window.open(pathInfo.href, '_self');
this.$router.go(0);
}else if(name == "LastBtn" && this.MonthlyId == 1){ }else if(name == "LastBtn" && this.MonthlyId == 1){
this.$message({ this.$message({
message: '您已处于第一期月刊!', message: '您已处于第一期月刊!',
@@ -327,7 +325,6 @@ export default {
} }
}) })
window.open(pathInfo.href, '_self'); window.open(pathInfo.href, '_self');
this.$router.go(0);
}else if(name == "NextBtn" && this.MonthlyId == this.Monely){ }else if(name == "NextBtn" && this.MonthlyId == this.Monely){
this.$message({ this.$message({
message: '您已处于最后一期月刊!', message: '您已处于最后一期月刊!',

View File

@@ -60,12 +60,10 @@ export default {
let pathInfo = this.$router.resolve({ let pathInfo = this.$router.resolve({
path: '/ProjectDetail', path: '/ProjectDetail',
query:{ query:{
id:id, id:id, refresh: true
refresh:true
} }
}) })
window.open(pathInfo.href, '_self'); window.open(pathInfo.href, '_self');
this.$router.go(0);
} }
} }
} }