开发者社区> 问答> 正文

Cannot read property 'notification' of undefined

钉钉企业内部程序开发时,使用显示弹窗jsapi dd.device.notification.showPreloader({ text: "使劲加载中..", showIcon: true, onSuccess: function (res) { // 调用成功时回调 console.log(res) }, onFail: function (err) { // 调用失败时回调 console.log(err) } }); 调试时,控制台出现错误: Cannot read property 'notification' of undefined

展开
收起
游客gdbhtwqqday32 2021-11-30 17:34:57 6384 0
1 条回答
写回答
取消 提交回答
  • 这个人很懒....什么都没写。

    应该是调用的对象里没有这个方法,请仔细检查一下是否有按流程去使用该API

    2021-12-02 15:07:10
    赞同 展开评论 打赏
来源圈子
更多
收录在圈子:
+ 订阅
问答排行榜
最热
最新

相关电子书

更多
AutoAlerts-From Data to Action 立即下载
Why you should care about data layout in the file system 立即下载
低代码开发师(初级)实战教程 立即下载