mirror of https://gitee.com/stylefeng/guns
Pre Merge pull request !88 from mazeyang1/master
commit
7cef1050f3
|
@ -76,9 +76,7 @@ const changeApp = item => {
|
||||||
window.open(href, '_blank');
|
window.open(href, '_blank');
|
||||||
} else {
|
} else {
|
||||||
if (isExternalLink(path.value)) {
|
if (isExternalLink(path.value)) {
|
||||||
const { href } = router.resolve({
|
const href = path.value;
|
||||||
path: path.value
|
|
||||||
});
|
|
||||||
window.open(href, '_blank');
|
window.open(href, '_blank');
|
||||||
} else {
|
} else {
|
||||||
router.push(path.value);
|
router.push(path.value);
|
||||||
|
|
Loading…
Reference in New Issue