feat(signature): 签名组件的画布添加白色背景色属性
parent
253c5e8a82
commit
1b96173594
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue