daxiongYang %!s(int64=6) %!d(string=hace) años
padre
commit
fea8dd9f21
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/router/index.js

+ 1 - 1
src/router/index.js

11
11
12
Vue.use(Router)
12
Vue.use(Router)
13
13
14
// 开发环境不使用懒加载, 因为懒加载页面太多的话会造成webpack热更新太慢, 所以只有开发环境使用懒加载
14
// 开发环境不使用懒加载, 因为懒加载页面太多的话会造成webpack热更新太慢, 所以只有生产环境使用懒加载
15
const _import = require('./import-' + process.env.NODE_ENV)
15
const _import = require('./import-' + process.env.NODE_ENV)
16
16
17
// 全局路由(无需嵌套上左右整体布局)
17
// 全局路由(无需嵌套上左右整体布局)