配置 jssdk 时好时坏
var jsApiList = “updateAppMessageShareData,updateTimelineShareData,showMenuItems,hideMenuItems,checkJsApi”.split(",");
wx.config({
debug: true,
appId: “wx8f3e71d5da8a3b8c”,
timestamp: “1567154399”,
nonceStr: “607dga2bdkb”,
signature: “6299e5df84f09391108941b8a0eb24782434e8ec”,
jsApiList: jsApiList
});
很奇怪的一个问题就是 我重新 跳转回来后就提示没有权限
第一次进来就不提示
{
debug: false,
appId: ‘wx8f3e71d5da8a3b8c’,
timestamp: ‘1567156210’,
nonceStr: ‘nkli0fjlsp’,
signature: ‘6027d92eb4661cc51e947900cf1639745df64e01’,
jsApiList: [‘updateAppMessageShareData’,
‘updateTimelineShareData’,
‘showMenuItems’,
‘hideMenuItems’,
‘checkJsApi’
]
}