diff --git a/src/router.js b/src/router.js index 290e663..03d88c9 100644 --- a/src/router.js +++ b/src/router.js @@ -5,6 +5,7 @@ import Router from 'vue-router' import homePage from './views/homePage/homePage' import applyFor from './views/homePage/applyFor' import newsDetails from './views/homePage/newsDetails' +import newsList from './views/homePage/newsList' /** 登录 */ import login from './views/login/login' /** 注册 */ @@ -33,6 +34,11 @@ export default new Router({ mode: 'hash', base: process.env.BASE_URL, routes: [ + { + path: '/newsList', + name: 'newsList', + component: newsList + }, { path: '/informationQuery', name: 'informationQuery', diff --git a/src/store.js b/src/store.js index 3c7424e..ef5f0b7 100644 --- a/src/store.js +++ b/src/store.js @@ -4,13 +4,7 @@ import Vuex from 'vuex' Vue.use(Vuex) export default new Vuex.Store({ - state: { - - }, - mutations: { - - }, - actions: { - - } + state: {}, + mutations: {}, + actions: {} }) diff --git a/src/views/homePage/homePage.vue b/src/views/homePage/homePage.vue index c4119b1..f220e70 100644 --- a/src/views/homePage/homePage.vue +++ b/src/views/homePage/homePage.vue @@ -59,7 +59,7 @@ 党组织信息 - 更多>> + 更多>>
@@ -84,11 +84,11 @@ 统一战线
- 更多>> + 更多>>