diff --git a/src/config/route.js b/src/config/route.js index bdc887db..c8f937f0 100644 --- a/src/config/route.js +++ b/src/config/route.js @@ -25,6 +25,16 @@ const routes = [ perms: ["home"], }, children: [ + { + name: "testx", + path: "/testx", + meta: { + title: "测试页", + icon: "el-icon-monitor", + perms: ["testx"], + }, + component: "home/testx", + }, { name: "dashboard", path: "/dashboard", diff --git a/src/views/home/testx.vue b/src/views/home/testx.vue new file mode 100644 index 00000000..2efb0ea9 --- /dev/null +++ b/src/views/home/testx.vue @@ -0,0 +1,38 @@ + + \ No newline at end of file