用了wx.hideHomebutton() 后编辑器报错,如何处理
VM10731:1 thirdScriptError
wx.hideHomeButton is not a function;at "pages/register/register" page lifeCycleMethod onShow function
TypeError: wx.hideHomeButton is not a function
at ye.onShow (http://127.0.0.1:55471/appservice/pages/register/register.js:87:8)
at ye.<anonymous> (WAService.js:1:1353019)
at ye.p.__callPageLifeTime__ (WAService.js:1:1352764)
at Tt (WAService.js:1:1367749)
at WAService.js:1:1369475
at xt (WAService.js:1:1369521)
at Function.<anonymous> (WAService.js:1:1374768)
at i.<anonymous> (WAService.js:1:1344283)
at i.emit (WAService.js:1:445256)
at Object.emit (WAService.js:1:607614)
console.error @ VM10731:1
errorReport @ WAService.js:1
thirdErrorReport @ WAService.js:1
(anonymous) @ WAService.js:1
(anonymous) @ WAService.js:1
p.__callPageLifeTime__ @ WAService.js:1
Tt @ WAService.js:1
(anonymous) @ WAService.js:1
xt @ WAService.js:1
(anonymous) @ WAService.js:1
(anonymous) @ WAService.js:1
i.emit @ WAService.js:1
emit @ WAService.js:1
(anonymous) @ WAService.js:1
(anonymous) @ WAService.js:1
n @ VM10735 asdebug.js:1
(anonymous) @ VM10735 asdebug.js:1
(anonymous) @ VM10735 asdebug.js:1
_ws.onmessage @ VM10735 asdebug.js:1
基础库怎么升级?我的是编辑工具的报错,手机没事
基础库太低了,这个版本还没有这个方法,做下版本兼容