1
0

index.js 627 B

123456789101112131415161718
  1. export default {
  2. mode: () => import('./app'),
  3. apiToken: 'token',
  4. loginPath: '/',
  5. loginAuth(route, { user }) {
  6. if (route.needLogin && !user.login) return false;
  7. return true;
  8. },
  9. tabs: [
  10. { key: 'main', name: '首页', path: '/' },
  11. { key: 'ready', name: 'GetReady', path: '/ready' },
  12. { key: 'exercise', name: '练习', path: '/exercise' },
  13. { key: 'examination', name: 'CAT模考', path: '/examination' },
  14. { key: 'question', name: '题库', path: '/question' },
  15. { key: 'textbook', name: '换库机经', path: '/textbook' },
  16. { key: 'course', name: '课堂', path: '/course' },
  17. ],
  18. };