JSAPI获取通用唯一识别码报错
ReJSAPI获取通用唯一识别码报错
自己已解决,需要在 jsApiList中,将所调用的接口加入到这里面,否则就会报上述错误
dd.config({
agentId: '7260910',
corpId: _config.corpId,
timeStamp: _config.timeStamp,
nonceStr: _config.nonceStr,
signature: _config.signature,
jsApiList: ['runtime.info',
'biz.contact.choose',
'device.base.getUUID',
'biz.navigation.setTitle',
'biz.util.open',
'device.notification.confirm',
'device.notification.alert',
'device.notification.prompt',
'biz.ding.post']
});
赞0
踩0