在vue中实现微信的分享至好友、分享至朋友圈的功能
如何在Vue 中实现微信分享至好友/朋友圈的功能 ?官方文档:https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/JS-SDK.html实现方法:在vue 页面初始化时created(){code…} 进行 codeing调用接口实现create(){ this.getShareInfo(); // 页面初始化调用此方法;}methods:{ getShareInfo(){ // 实现如下: //
复制链接