diff --git a/src/config/router.config.js b/src/config/router.config.js index c4903625..73339f91 100644 --- a/src/config/router.config.js +++ b/src/config/router.config.js @@ -85,6 +85,13 @@ export const asyncRouterMap = [ hidden: true, component: () => import('@/views/page/internal/GalleryList'), meta: { title: '图库', hiddenHeaderContent: false } + }, + { + path: '/pages/journals', + name: 'JournalList', + hidden: true, + component: () => import('@/views/page/internal/JournalList'), + meta: { title: '日志', hiddenHeaderContent: false } } ] }, diff --git a/src/views/page/PageList.vue b/src/views/page/PageList.vue index 289e7e13..90c3a7ba 100644 --- a/src/views/page/PageList.vue +++ b/src/views/page/PageList.vue @@ -23,6 +23,9 @@ 编辑 + + 编辑 + @@ -66,6 +69,11 @@ const internalPages = [ id: '2', name: '图库页面', url: '/galleries' + }, + { + id: '3', + name: '日志页面', + url: '/journals' } ] export default { diff --git a/src/views/page/internal/JournalList.vue b/src/views/page/internal/JournalList.vue new file mode 100644 index 00000000..fe5d4a12 --- /dev/null +++ b/src/views/page/internal/JournalList.vue @@ -0,0 +1,66 @@ + + + +