Commit 263e4723a668f4479a3a9b13b12604fdf4d96a36
1 parent
18c4db4e
去除重复渲染的问题
Showing
1 changed file
with
1 additions
and
2 deletions
src/components/Common/Typesetting/typesetting.js
| ... | ... | @@ -613,8 +613,7 @@ const Typesetting = props => { |
| 613 | 613 | newMaterialWidth !== materialWidth || |
| 614 | 614 | materialName !== sMaterialsName || |
| 615 | 615 | newDHorizontalType !== dHorizontalType || |
| 616 | - newDPortraitType !== dPortraitType || | |
| 617 | - (!dWlcd && sBillNo) | |
| 616 | + newDPortraitType !== dPortraitType | |
| 618 | 617 | ) { |
| 619 | 618 | setMaterialLength(newMaterialLength); |
| 620 | 619 | setMaterialWidth(newMaterialWidth); | ... | ... |