瀏覽代碼

菜单引入环境新增判断

15102826049 1 周之前
父節點
當前提交
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)