Commit c7af87d9fb173aae1b7bc0cfd32fc72aa6ceeccd
1 parent
48f1c50a
解决没有审核状态报错的问题
Showing
1 changed file
with
1 additions
and
1 deletions
src/mes/common/commonModelComponent/index.js
| @@ -1941,7 +1941,7 @@ const CommonViewTableComponent = props => { | @@ -1941,7 +1941,7 @@ const CommonViewTableComponent = props => { | ||
| 1941 | belongsToForm: true, | 1941 | belongsToForm: true, |
| 1942 | }; | 1942 | }; |
| 1943 | const {masterData, sModelsType, app} = props | 1943 | const {masterData, sModelsType, app} = props |
| 1944 | - const {bCheck} = masterData | 1944 | + const {bCheck = false} = masterData || {} |
| 1945 | const imgSrc = commonBusiness.handleAddIcon(masterData, sModelsType, app); | 1945 | const imgSrc = commonBusiness.handleAddIcon(masterData, sModelsType, app); |
| 1946 | return ( | 1946 | return ( |
| 1947 | <> | 1947 | <> |