src/router/index.js
@@ -56,7 +56,7 @@ import Transfers from '@/page/transfer/index.vue' import Authentications from '@/page/authentication/index.vue' import BankCard from '@/page/bankCard/index.vue' import service from '@/page/service/service.vue' Vue.use(Router) const routerPush = Router.prototype.push @@ -713,6 +713,18 @@ component: BankCard }, { path: '/service', name: 'service', meta: { title: '客服', requireAuth: false, hasHeader: false, index: 57, show: true }, component: service }, { // 会匹配所有路径 path: '*', redirect: '/home'