Browse Source

菜单引入环境新增判断

15102826049 1 week ago
parent
commit
e486c12d48
1 changed files with 0 additions and 2 deletions
  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)