mirror of https://gitee.com/stylefeng/guns
commit
bc4a6d92e3
|
@ -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