signature-sdk
手写板签名对接 sdk
厂商列表
如何使用
import SignatureSDK from '@cnhis-frontend/signature'
const signatureSdk = SignatureSDK.create()
const { signImage, fingerImage, signXml, mixImage, signFileStr } =
await signatureSdk.start(option)
const signatureSdk = SignatureSDK.create({ name: 'tiangu' })
const { signImage } = await signatureSdk.start('sign')
const { fingerImage } = await signatureSdk.start('finger')
const signatureSdk = SignatureSDK.create({ name: 'tengxiang' })
const { signImage } = await signatureSdk.start(option)
const signatureSdk = SignatureSDK.create({ name: 'tengxiang', version: 3 })
const { signImage } = await signatureSdk.start(option)
SignatureSDK.destroy()