diff --git a/itbaima-monitor-web/index.html b/itbaima-monitor-web/index.html index f1b1688..80aec07 100644 --- a/itbaima-monitor-web/index.html +++ b/itbaima-monitor-web/index.html @@ -5,6 +5,7 @@ + Vite App diff --git a/itbaima-monitor-web/src/main.js b/itbaima-monitor-web/src/main.js index c6c064a..7087e45 100644 --- a/itbaima-monitor-web/src/main.js +++ b/itbaima-monitor-web/src/main.js @@ -3,6 +3,7 @@ import App from './App.vue' import router from './router' import axios from "axios"; +import 'flag-icon-css/css/flag-icons.min.css' import 'element-plus/theme-chalk/dark/css-vars.css' axios.defaults.baseURL = 'http://localhost:8080' diff --git a/itbaima-monitor-web/src/router/index.js b/itbaima-monitor-web/src/router/index.js index 85a2be6..67bebe4 100644 --- a/itbaima-monitor-web/src/router/index.js +++ b/itbaima-monitor-web/src/router/index.js @@ -23,6 +23,17 @@ const router = createRouter({ path: '/index', name: 'index', component: () => import('@/views/IndexView.vue'), + children: [ + { + path: '', + name: 'manage', + component: () => import('@/views/main/Manage.vue') + }, { + path: 'security', + name: 'security', + component: () => import('@/views/main/Security.vue') + } + ] } ] }) diff --git a/itbaima-monitor-web/src/views/main/Manage.vue b/itbaima-monitor-web/src/views/main/Manage.vue new file mode 100644 index 0000000..9adbff3 --- /dev/null +++ b/itbaima-monitor-web/src/views/main/Manage.vue @@ -0,0 +1,33 @@ + + + + + diff --git a/itbaima-monitor-web/src/views/main/Security.vue b/itbaima-monitor-web/src/views/main/Security.vue new file mode 100644 index 0000000..5176044 --- /dev/null +++ b/itbaima-monitor-web/src/views/main/Security.vue @@ -0,0 +1,11 @@ + + + + +