自定义tabBar切换tab是会报错,但是能正常切换(解决)?
发布于 6 年前 作者 yongbai 2737 次浏览 来自 官方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 回复

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

解决了!

component/dist/tabs/index.js 147行

回到顶部