Commit 56f2cdd60fa0c25bebc2abb5f8c9ecae26721ba6

Authored by Min
1 parent e7a1c189

1.去除console

src/components/Common/CommonListTreeEvent.js
... ... @@ -2124,7 +2124,7 @@ export default (ChildComponent) => {
2124 2124 // masterData,
2125 2125 // employeeConfig,
2126 2126 } = this.props;
2127   - console.log('myConfigArr',myConfigArr)
  2127 +
2128 2128 let picArr = [];
2129 2129 if(commonUtils.isNotEmptyArr(myConfigArr)) {
2130 2130 picArr = myConfigArr;
... ...
src/mes/common/buttonComponent/index.js
... ... @@ -15,7 +15,7 @@ const getNavIcon = (bActive, iconName = 2) => {
15 15 const ButtonComponent = props => {
16 16 const { app, sModelsId, currentContent, menuMap } = props;
17 17 const { managementData, userinfo = {} } = app;
18   - console.log('3managementData3', managementData);
  18 +
19 19 const { iTeamType, sWorkshopId } = userinfo;
20 20  
21 21 if ([3, 4, 5, 6].includes(iTeamType)) {
... ... @@ -54,7 +54,7 @@ const ButtonComponent = props => {
54 54 const productionExecMain = managementData.find(
55 55 item => (item.sMenuName === "生产执行" || item.sMenuName === "Production Execution")
56 56 );
57   - console.log('productionExecMain', productionExecMain);
  57 +
58 58 if ( productionExecMain && productionExecMain.children) {
59 59 const forLength = productionExecMain.children.length;
60 60 for (let i = 0; i < forLength; i++) {
... ... @@ -269,7 +269,7 @@ const ButtonComponent = props =&gt; {
269 269 }
270 270 menuList.push(result);
271 271 });
272   - console.log('menuList:', menuList);
  272 +
273 273 dataList.forEach(item => {
274 274 if (!menuList.some(item1 => item1.name === item.name)) {
275 275 const iIndex = menuList.findIndex(item1 => !item1);
... ... @@ -277,7 +277,7 @@ const ButtonComponent = props =&gt; {
277 277 }
278 278 });
279 279  
280   - console.log('dataList:', dataList);
  280 +
281 281  
282 282 // 点击
283 283 const itemClick = e => {
... ... @@ -397,7 +397,7 @@ const ButtonComponent = props =&gt; {
397 397 </div>
398 398 );
399 399 };
400   - console.log(menuList, '1menuLis111t ');
  400 +
401 401 return (
402 402 <div
403 403 className={`${styles.buttonComponent} ${
... ...
src/mes/common/commonModelComponent/index.js
... ... @@ -1289,10 +1289,8 @@ const CommonModelComponent = props =&gt; {
1289 1289 width = "100%",
1290 1290 height = "100%"
1291 1291 } = item;
1292   - console.log('ssconfigLists', configList, sEntireTabName, item);
1293 1292 const sEntireTabNameNew = sLanguage === 'sEnglish' ? sEnglishEntireTabName :
1294 1293 sLanguage === 'sBig5EntireTabName' ? sBig5EntireTabName : sEntireTabName;
1295   - console.log('sEntireTabNameNew', sEntireTabNameNew);
1296 1294 const advancedStyle =
1297 1295 mode === "advanced"
1298 1296 ? {
... ...