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
使用taro + react
const onImgOK = e => { //无法打出log console.log("e", e); }; <painter palette={data} imgOK={onImgOK} />
在断点调试模式下可以看到。确实程序进入了
that.triggerEvent('imgOK', { path: filePath, });
The text was updated successfully, but these errors were encountered:
监听使用 <painter palette={data} onImgOK={onImgOK} />,另外需要将 that.triggerEvent('imgOK', { path: filePath }); 中的 imgOK 改成 img-ok,参考 taro 文档
<painter palette={data} onImgOK={onImgOK} />
that.triggerEvent('imgOK', { path: filePath });
imgOK
img-ok
Sorry, something went wrong.
fix:修复issue Kujiale-Mobile#393 在taro项目中原生插件形式引入,无法触发imgOK回调的问题。以及ios端…
c318016
…绘制图片模糊的问题
No branches or pull requests
使用taro + react
在断点调试模式下可以看到。确实程序进入了
The text was updated successfully, but these errors were encountered: