diff --git a/src/router/routes/modules/example.js b/src/router/routes/modules/example.js index e18b3d0..650500a 100644 --- a/src/router/routes/modules/example.js +++ b/src/router/routes/modules/example.js @@ -36,7 +36,7 @@ export default [ { name: 'PostCreate', path: 'post-create', - component: () => import('@/views/examples/table/post/post-create.vue'), + component: () => import('@/views/examples/table/post/PostCreate.vue'), meta: { title: '创建文章', role: ['admin'], diff --git a/src/views/examples/table/post/post-create.vue b/src/views/examples/table/post/PostCreate.vue similarity index 100% rename from src/views/examples/table/post/post-create.vue rename to src/views/examples/table/post/PostCreate.vue