mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 19:36:43 +08:00
添加一个输入打印跳转问题
This commit is contained in:
@@ -107,7 +107,9 @@
|
||||
if(idx>0){
|
||||
//console.log(path.substring(0,idx-1),'this.$router.path');
|
||||
//this.$router.push(path.substring(0,idx-1)+'?gz=7'+num)
|
||||
location.href=process.env.VUE_APP_PUBLIC_PATH+path.substring(0,idx-1)+'?gz=7'+num;
|
||||
let toUrl=process.env.VUE_APP_PUBLIC_PATH+path.substring(0,idx-1)+'?gz=7'+num;
|
||||
console.log(toUrl,'toUrl')
|
||||
location.href=toUrl
|
||||
}else{
|
||||
this.$bus.$emit('followIndex',num)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user