与此同时出现的error:
getlocation:the permission value is offline verifying
fetch(httpConfig.signature, {// signature:domain+'/wechat/jssdk/signature?url=***.com',
method: 'GET'
}).then(res => {
callback(res);
})
参与wx.config的url必须是动态生成的,如下:
httpConfig.signature+ window.location.href.split("#")[0]