We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.6.1
微信小程序
--
export type SignatureExpose = { /** 点击清除按钮清除签名 */ clear: () => void /** 点击确定按钮 */ confirm: (result: SignatureResult) => void }
点击确定按钮的定义错误:
实际上的实现是:
defineExpose<SignatureExpose>({ clear, confirm: confirmSignature }) // 确认签名 const confirmSignature = () => { canvasToImage() }
并没有参数: result: SignatureResult
result: SignatureResult
不影响使用, 但是编辑器会报红
export type SignatureExpose = { /** 点击清除按钮清除签名 */ clear: () => void /** 点击确定按钮 */ confirm: () => void }
No response
The text was updated successfully, but these errors were encountered:
types传入
types
Sorry, something went wrong.
810505339
No branches or pull requests
Wot Design Uni 版本号
1.6.1
平台
微信小程序
复现Demo地址(如不提供,将被直接关闭)
--
重现步骤
点击确定按钮的定义错误:
实际上的实现是:
并没有参数:
result: SignatureResult
不影响使用, 但是编辑器会报红
期望的结果是什么?
实际的结果是什么?
环境信息
No response
其他补充信息
No response
The text was updated successfully, but these errors were encountered: