收藏
回答

调用官方接口报错不是函数?

框架类型 问题类型 操作系统 工具版本
小程序 Bug macOS 1.02.1804251

wx.vibrateLong is not a function;at "pages/vibrate/vibrate" page vLong function

TypeError: wx.vibrateLong is not a function


代码如下




使用的是最新版本:https://servicewechat.com/wxa-dev-logic/download_redirect?type=darwin&from=mpwiki&download_version=1021804251&version_type=1

回答关注问题邀请回答
收藏

1 个回答

  • 小程序运营专员 - cunjin
    小程序运营专员 - cunjin
    2018-05-11

    麻烦给个相关的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html),我们定位下问题

    另外,你的基础库版本是什么?

    2018-05-11
    有用
    回复 1
    • 白宦成 #Linux中国
      白宦成 #Linux中国
      2018-05-17
      只有上周五是这个样子,第二天就没问题了。我怀疑是不是调用的 web 服务出了点问题。
      2018-05-17
      回复
登录 后发表内容