Skip to content
This repository has been archived by the owner on Aug 21, 2019. It is now read-only.

【bug】当zan-button 的 openType="share"时,按钮传入参数data-id=${id} ,小程序onShareAppMessage捕捉不到参数id #14

Open
sunjiaming opened this issue Jun 18, 2019 · 0 comments

Comments

@sunjiaming
Copy link

示例:
<zan-button plain="true" size="mini" type='primary' data-id="{{myindex}}" openType="share">测试参数</zan-button>

小程序:
onShareAppMessage: function (options) {
console.log(options)
}

结果options里的target为空值

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant