1
This commit is contained in:
parent
0187cc5289
commit
15ad33aa82
|
@ -29,7 +29,7 @@
|
|||
:key="menu.path"
|
||||
class="nav-menu"
|
||||
:class="{ 'current-route': $route.path.startsWith(menu.path) && menu.path !== '/' }"
|
||||
@click.stop="menu.children || $router.push({ path: menu.hash ? '' : menu.path , hash: menu?.hash || ''})"
|
||||
@click.stop="menu.children || menu.jump ? winOpen(menu.jump) : $router.push({ path: menu.hash ? '' : menu.path , hash: menu?.hash || ''})"
|
||||
>
|
||||
<span>{{ menu.title }}</span>
|
||||
<div
|
||||
|
@ -127,6 +127,10 @@ export default {
|
|||
],
|
||||
},
|
||||
{ title: '联系我们', path: '/fshg.cc/ContactUs' },
|
||||
{
|
||||
title: '供应商登录',
|
||||
jump: 'http://117.72.41.220:9097',
|
||||
},
|
||||
{
|
||||
title: '登录',
|
||||
path: '/',
|
||||
|
@ -151,6 +155,9 @@ export default {
|
|||
a.click();
|
||||
document.body.removeChild(a);
|
||||
},
|
||||
winOpen(url) {
|
||||
if(url) window.open(url ,'_blank')
|
||||
}
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue
Block a user