自定义tabBar切换tab是会报错,但是能正常切换(解决)?

发布于 7 年前作者 yongbai2890 次浏览最后编辑 7 年前来自 issues

VM14842:1 thirdScriptError

Cannot read property ‘getComputedName’ of undefined;at api nextTick callback function

TypeError: Cannot read property ‘getComputedName’ of undefined

    at _e.trigger (http://127.0.0.1:19600/appservice/component/dist/tabs/index.js:147:29)

    at Function.

(http://127.0.0.1:19600/appservice/component/dist/tabs/index.js:200:24)

    at http://127.0.0.1:19600/appservice/__dev__/WAService.js:1:108201

    at Function.Op (http://127.0.0.1:19600/appservice/__dev__/WAService.js:1:970535))

    at http://127.0.0.1:19600/appservice/__dev__/WAService.js:1:108201

    at http://127.0.0.1:19600/appservice/__dev__/WAService.js:1:96229

3 回复
zhouchao
zhouchao1 楼6 年前

我这好像是头上的tab和底下的tabbar冲突了,就会报错也不影响,所以大哥是怎么解决的呢

ming84
ming842 楼6 年前

解决了!

gzheng
gzheng3 楼6 年前

component/dist/tabs/index.js 147行