diff --git a/src/components/SubNavigation.vue b/src/components/SubNavigation.vue index 42ad61c..4bd991c 100644 --- a/src/components/SubNavigation.vue +++ b/src/components/SubNavigation.vue @@ -20,6 +20,7 @@
工厂展示
工业设计
软硬件研发
+
加工生产
@@ -46,6 +47,10 @@ const toPage = path => { window.location.href = 'https://iflytop.com/mobile/hardware' return } + if (path == '/mobile/metal') { + window.location.href = 'https://iflytop.com/mobile/metal' + return + } const origin = window.location.origin const pathname = window.location.pathname const p = `${origin}${pathname}#${path}` diff --git a/src/components/Top.vue b/src/components/Top.vue index 114479f..b1fd380 100644 --- a/src/components/Top.vue +++ b/src/components/Top.vue @@ -32,6 +32,7 @@
工厂展示
工业设计
软硬件研发
+
加工生产
@@ -76,6 +77,10 @@ const toPage = path => { window.location.href = 'https://iflytop.com/mobile/hardware' return } + if (path == '/mobile/metal') { + window.location.href = 'https://iflytop.com/mobile/metal' + return + } const origin = window.location.origin const pathname = window.location.pathname const p = `${origin}${pathname}#${path}`