1、安装npm install react-canvas-draw --save2、导入 import CanvasDraw from "react-canvas-draw";3、使用组件 signCanvas= React.createRef(); 设置签名组件的属性 <