Commit 3ca0bda6 authored by zhengke's avatar zhengke

修改

parent 56bbc090
...@@ -3503,13 +3503,12 @@ export default { ...@@ -3503,13 +3503,12 @@ export default {
this.chosenIndex = id; this.chosenIndex = id;
if(localStorage.openMode && localStorage.openMode==1) if(localStorage.openMode && localStorage.openMode==1)
this.$router.push({ path: url ,query:{blank:'y'}}); this.$router.push({ path: url ,query:{blank:'y'}});
else{ else
// this.$router.push({ path: url ,query:{}}); this.$router.push({ path: url ,query:{}});
const {href} = this.$router.resolve({ // const {href} = this.$router.resolve({
path: url // path: url
}) // })
window.open(href, '_blank') // window.open(href, '_blank')
}
} }
}else{ }else{
window.open(url, "_blank"); window.open(url, "_blank");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment