feat(signature): 签名组件的画布添加白色背景色属性
parent
253c5e8a82
commit
1b96173594
|
|
@ -81,6 +81,7 @@ function Signature(props) {
|
|||
ref={signatureCanvas}
|
||||
penColor="black"
|
||||
canvasProps={{ width, height }}
|
||||
backgroundColor="rgb(255,255,255)"
|
||||
{...restProps}
|
||||
/>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue