Просмотр исходного кода

菜单引入环境新增判断

15102826049 1 неделя назад
Родитель
Сommit
e486c12d48
1 измененных файлов с 0 добавлено и 2 удалено
  1. 0 2
      jshERP-web/src/utils/util.js

+ 0 - 2
jshERP-web/src/utils/util.js

@@ -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)