feat(signature): 签名组件的画布添加白色背景色属性

master
LiuJiaNan 2026-04-29 08:45:35 +08:00
parent 253c5e8a82
commit 1b96173594
1 changed files with 1 additions and 0 deletions

View File

@ -81,6 +81,7 @@ function Signature(props) {
ref={signatureCanvas} ref={signatureCanvas}
penColor="black" penColor="black"
canvasProps={{ width, height }} canvasProps={{ width, height }}
backgroundColor="rgb(255,255,255)"
{...restProps} {...restProps}
/> />
</div> </div>