Merge branch 'wcd-2412-update' of http://192.168.1.110:5678/r/pms-upgrade into wcd
| | |
| | | :key="route.path" |
| | | :item="route" |
| | | :base-path="route.path" |
| | | @click.native="handleMenuClick(route)" |
| | | /> |
| | | </el-menu> |
| | | </el-scrollbar> |
| | |
| | | } |
| | | }, |
| | | methods: { |
| | | |
| | | handleMenuClick(menu) { |
| | | if (menu.meta && menu.meta.isNewWindow) { |
| | | window.open(this.$router.resolve({ path: menu.path }).href, '_blank'); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | |
| | | hidden: true |
| | | }, |
| | | { |
| | | path: '/yhkj', |
| | | name: 'IframePage', |
| | | meta: { |
| | | title: '以恒官网', |
| | | icon: 'user', |
| | | isNewWindow: true, |
| | | }, |
| | | component: () => import('@/views/ifamepage.vue'), |
| | | hidden: true |
| | | |
| | | }, |
| | | { |
| | | path: '/404', |
| | | component: (resolve) => require(['@/views/features/404'], resolve), |
| | | hidden: true |
| | |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: '/pms-upgrade.yhzhg.cn/yhkj', |
| | | name: 'IframePage', |
| | | meta: { |
| | | title: '以恒官网', |
| | | icon: 'user', |
| | | isNewWindow: true, |
| | | }, |
| | | component: () => import('@/views/ifamepage.vue') |
| | | |
| | | } |
| | | ] |
| | | |
| | | export default new Router({ |