|
@@ -103,8 +103,6 @@ function generateChildRouters(data) {
|
|
|
for (let item of data) {
|
|
|
let componentPath = ''
|
|
|
item.route = '1'
|
|
|
- console.log('===========================', process.env.NODE_ENV)
|
|
|
-
|
|
|
if (process.env.NODE_ENV === 'production') {
|
|
|
if (item.component.indexOf('layouts') >= 0) {
|
|
|
componentPath = () => import('@/components' + item.component)
|