diff --git a/src/router/index.js b/src/router/index.js index c959e3c..a0ed5d7 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -88,8 +88,13 @@ export const constantRoutes = [ } ] }, - - + { + path: '/inspector', + component: () => import('@/views/inspector/index'), + hidden: true + }, + + ] // 动态路由,基于用户权限动态去加载 diff --git a/src/views/inspector/components/Card.vue b/src/views/inspector/components/Card.vue new file mode 100644 index 0000000..c50b7c7 --- /dev/null +++ b/src/views/inspector/components/Card.vue @@ -0,0 +1,37 @@ + + + + + diff --git a/src/views/inspector/index.vue b/src/views/inspector/index.vue new file mode 100644 index 0000000..a60a4b3 --- /dev/null +++ b/src/views/inspector/index.vue @@ -0,0 +1,88 @@ + + + + + diff --git a/vue.config.js b/vue.config.js index d7793be..634a310 100644 --- a/vue.config.js +++ b/vue.config.js @@ -38,11 +38,11 @@ module.exports = { proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - target: `http://192.168.0.3:18098`, + // target: `http://192.168.0.3:18098`, // target: `http://192.168.0.151:8099`, //服务器 // target: `http://192.168.3.10:8099`, //耗子 // target: `http://106.15.139.36:18090`, - + // target: `http://120.79.202.7:443`, // target: `http://100.100.10.216:8099`, // target: 'http://106.15.139.36:18090',