Browse Source

修改默认跳转路径

main
ZhaoYang 20 hours ago
parent
commit
38001bbb2e
  1. 6
      chenhai-ui/src/router/index.js
  2. 2
      chenhai-ui/src/views/Home.vue

6
chenhai-ui/src/router/index.js

@ -89,6 +89,12 @@ export const constantRoutes = [
] ]
}, },
{
path: 'index',
component: () => import('@/views/index'),
hidden: true
},
// { // {
// path: '', // path: '',
// component: Layout, // component: Layout,

2
chenhai-ui/src/views/Home.vue

@ -332,7 +332,7 @@ export default {
this.showOverview = false this.showOverview = false
}, },
handleAdmin(e) { handleAdmin(e) {
window.open('/', '_blank')
window.open('index', '_blank')
this.showOverview = false this.showOverview = false
}, },
assetAuantity() { assetAuantity() {

Loading…
Cancel
Save