提交 23dc3bf3 编写于 作者: Q qiang

Merge branch 'next' of github.com:dcloudio/uni-app into next

......@@ -50,9 +50,6 @@ export const setTabBarItem = defineAsyncApi<API_TYPE_SET_TAB_BAR_ITEM>(
{ index, text, iconPath, selectedIconPath, pagePath, visible },
{ resolve, reject }
) => {
if (!isTabBarPage()) {
return reject('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.
先完成此消息的编辑!
想要评论请 注册