1234567891011121314 |
- // import React from 'react';
- import App from './app';
- export default {
- mode: () => {
- return Promise.resolve({ default: App });
- },
- rootPath: '/dashboard',
- apiToken: 'token',
- loginAuth(route, { user }) {
- if (route.needLogin && !user.login) return false;
- return true;
- },
- };
|