updateAppMessageShareData and updateTimelineShareData error err:function not exist,
< script src= " http://res.wx.qq.com/open/js/.; > < / script >
src= "http://res.wx.qq.com/open/js/jweixin-1.4.0.js"
introduced 1.4 SDK
import wx from "wx"
configure
let data = {
debug: true, // ,apialertpclogpc
appId: res.appId, //
timestamp: res.timestamp, //
nonceStr: res.nonceStr, //
signature: res.signature, //
jsApiList: ["getLocalImgData", "downloadImage", "chooseImage", "previewImage", "uploadImage", "updateAppMessageShareData", "updateTimelineShareData"] //
}
wx.config (data)
Brother help to see what"s wrong
Wechat client is also 6.6.7 is up-to-date
what the official document says please migrate to use the client version 6.7.2 and JSSDK 1.4.0 or above as soon as possible