Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

安卓假分享真分享都能调起卡券

vuex里面actions的方法

vuex里面actions的方法

在这里调用wx.addCard

【】微信ios页面调用jssdk的 wx.addCard假分享能调起来,真分享调不起来

在分享朋友圈后调用这个方法,如果假分享的话是可以调起卡券,真分享却调不起卡券

说是同步异步的问题,但是添加await也是调不起来

但是添加一个settimeout却可以了

setTimeout(()=>{
    this.cardPrize()
}, 100)

请各位大佬指点一下,怎样才能不使用settimeout的情况下实现


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
562 views
Welcome To Ask or Share your Answers For Others

1 Answer

等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share

548k questions

547k answers

4 comments

86.3k users

...