wx.getExtConfigSync手机预览的时候获取不到数据
wx.getExtConfigSync
开发工具中能够正常获取数据,手机预览的时候获取不到数据,得到的数据是undefined
{
"extEnable": true,
"extAppid": "wx4d7a3e72b8ac11f8",
"ext": {
"title": "wechat",
"CFid": "WXX201709171626481953"
}
CFid: function () {
let extConfig = wx.getExtConfigSync ? wx.getExtConfigSync() : {}
return extConfig.CFid
}
哪位高手指导一下,谢谢!
10 回复