提交 b54c6ec0 编写于 作者: fxy060608's avatar fxy060608

chore: build

上级 57a33ffa
......@@ -9474,6 +9474,9 @@ var serviceContext = (function (vue) {
resolve();
}, SetTabBarBadgeProtocol, SetTabBarBadgeOptions);
const setTabBarItem = defineAsyncApi(API_SET_TAB_BAR_ITEM, ({ index, text, iconPath, selectedIconPath, pagePath, visible }, { resolve, reject }) => {
if (!isTabBarPage()) {
return reject('not TabBar page');
}
tabBar$1.setTabBarItem(index, text, iconPath, selectedIconPath, visible);
const route = pagePath && __uniRoutes.find(({ path }) => path === pagePath);
if (route) {
......@@ -9492,9 +9495,7 @@ var serviceContext = (function (vue) {
}, SetTabBarItemProtocol, SetTabBarItemOptions);
const setTabBarStyle = defineAsyncApi(API_SET_TAB_BAR_STYLE, (style = {}, { resolve, reject }) => {
if (!isTabBarPage()) {
return {
errMsg: 'setTabBarStyle:fail not TabBar page',
};
return reject('not TabBar page');
}
const borderStyles = {
black: 'rgba(0,0,0,0.4)',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册