收藏
回答

wx-open-subscribe 成功回调detail为{}?空对象?@官方

<wx-open-subscribe @success="successFunc" @error="errorFunc" :template="templateIds" id="subscribe-btn" style='opacity:1;z-index:2222; position: absolute; top: 0; left: 0; width: 100%; height: 100%;'>
						  <script type="text/wxtag-template" slot="style">
						     <style>
						       .subscribe-btn {
						        color: #000;
						        background-color: transparent;
								border: none;
								outline: none;
								position: absolute;
								z-index:2222;
								position: absolute;
								top: 0;
								left: 0width: 100%;
								height: 100%;
								font-size:32rpx ;
								 
						       }
						     </style>
						   </script>
						   <script type="text/wxtag-template">
						     <button class="subscribe-btn" style="font-size: 32rpx;">
						       确认            
						     </button>
						   </script>
						</wx-open-subscribe>
successFunc中detail为空{}。真机,开发工具都是这样,config是成功的
各位大佬求解答
回答关注问题邀请回答
收藏

1 个回答

  • Summer✨
    Summer✨
    2022-01-11

    你好,请提供真实可复现的体验链接。

    2022-01-11
    有用
    回复
登录 后发表内容
问题标签