Commit cc63cab37b74bc184e5cde70c978d2d188e84c9e
1 parent
2b17eae6
1.处理工艺参数展示问题
Showing
1 changed file
with
1 additions
and
1 deletions
src/mes/common/buttonComponent/index.js
| @@ -76,7 +76,7 @@ const ButtonComponent = props => { | @@ -76,7 +76,7 @@ const ButtonComponent = props => { | ||
| 76 | if (productionExecMain && productionExecMain.children) { | 76 | if (productionExecMain && productionExecMain.children) { |
| 77 | for (let i = 0; i < 4; i++) { | 77 | for (let i = 0; i < 4; i++) { |
| 78 | const iIndex = productionExecMain.children.findIndex(child => | 78 | const iIndex = productionExecMain.children.findIndex(child => |
| 79 | - child.sMenuName.includes("研发工艺参数") || child.sMenuName.includes("R&D Process Parameters") | 79 | + child.sMenuName.includes("研发工艺参数") || child.sMenuName.includes("R&D Process Parameter") |
| 80 | ); | 80 | ); |
| 81 | if (iIndex !== -1) { | 81 | if (iIndex !== -1) { |
| 82 | productionExecMain.children.splice(iIndex, 1); | 82 | productionExecMain.children.splice(iIndex, 1); |