提交 bf5e8115 编写于 作者: D DCloud_LXH 提交者: qiang

chore: remove setTabBarItem reject

上级 a10c7a7c
......@@ -23,11 +23,6 @@ export function setTabBarItem ({
pagePath,
visible
}) {
if (!isTabBarPage()) {
return {
errMsg: 'setTabBarItem:fail not TabBar page'
}
}
tabBar.setTabBarItem(index, text, iconPath, selectedIconPath, visible)
const route = pagePath && __uniRoutes.find(({ path }) => path === pagePath)
if (route) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册