Commit 4c9c9cb9 authored by trumansdo's avatar trumansdo
Browse files

数据库数据

TODO  完成菜单功能
parent 556cb3d8
This diff is collapsed.
......@@ -2,7 +2,7 @@
* @Description: In User Settings Edit
* @Author: your name
* @Date: 2019-09-09 12:16:28
* @LastEditTime: 2020-05-07 15:03:38
* @LastEditTime: 2020-05-07 15:14:43
* @LastEditors: 一日看尽长安花
*/
import { constantRoutes } from '@/router';
......@@ -88,7 +88,7 @@ export function handleComponent(routes) {
/** 这里的异步不能直接在import里用template string写法,babel-eslint有bug*/
/** 两种异步写法:
* component = resolve => require([`@/views/modules/${URL}`], resolve);
* component = () => import(`@/${_route.component}`);这个也有问题
* component = () => import(`@/${_route.component}`);
*/
//这一步多余的赋值遍历必须存在,import的bug
const name = _route.component;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment