123456789101112131415161718 |
- export default {
- mode: () => import('./app'),
- apiToken: 'token',
- loginPath: '/',
- loginAuth(route, { user }) {
- if (route.needLogin && !user.login) return false;
- return true;
- },
- tabs: [
- { key: 'main', name: '首页', path: '/' },
- { key: 'ready', name: 'GetReady', path: '/ready' },
- { key: 'exercise', name: '练习', path: '/exercise' },
- { key: 'examination', name: 'CAT模考', path: '/examination' },
- { key: 'question', name: '题库', path: '/question' },
- { key: 'textbook', name: '换库机经', path: '/textbook' },
- { key: 'course', name: '课堂', path: '/course' },
- ],
- };
|