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
问题描述 使用原生的botton按钮,调用分享功能时,onShareAppMessage方法的入参可以获取到res.target.dataset中自定义的shareinfo。 <button size="mini" type="primary" open-type="share" :data-shareinfo='dataInfo'>分享 如下图控制台打印
我的需求是点击一行文字,触发分享功能,所以我使用up-text组件,此时onShareAppMessage函数无法获取到res.target.dataset中自定义的shareinfo 代码:<up-text text="分享" size="13" openType="share" align="right" color="#07CE52" suffixIcon="share" iconStyle="color:#07CE52" :data-shareinfo="dataInfo">
复现步骤 复现该行为的步骤:
预期行为 清晰地描述你期望发生什么。
截图 如果适用,请添加截图以帮助解释你的问题。
版本(请填写以下信息):
平台(请填写以下信息):
智能手机(请填写以下信息):
The text was updated successfully, but these errors were encountered:
<up-button openType="share" plain size="small" icon="share" text="分享" :data-shareinfo='dataInfo'>同理,也获取不到
Sorry, something went wrong.
试试参考此章节
No branches or pull requests
问题描述
使用原生的botton按钮,调用分享功能时,onShareAppMessage方法的入参可以获取到res.target.dataset中自定义的shareinfo。
<button size="mini" type="primary" open-type="share" :data-shareinfo='dataInfo'>分享
如下图控制台打印
我的需求是点击一行文字,触发分享功能,所以我使用up-text组件,此时onShareAppMessage函数无法获取到res.target.dataset中自定义的shareinfo
代码:<up-text text="分享" size="13" openType="share" align="right" color="#07CE52"
suffixIcon="share" iconStyle="color:#07CE52" :data-shareinfo="dataInfo">
复现步骤
复现该行为的步骤:
预期行为
清晰地描述你期望发生什么。
截图
如果适用,请添加截图以帮助解释你的问题。
版本(请填写以下信息):
平台(请填写以下信息):
智能手机(请填写以下信息):
其他上下文
在此处添加有关问题的任何其他上下文。
The text was updated successfully, but these errors were encountered: