调用官方接口报错不是函数?
发布于 5 年前 作者 duanjuan 8091 次浏览 来自 问答

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 回复

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

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

回到顶部