提交 39e41439 编写于 作者: Q qiang

build v3

上级 4e601882
...@@ -2721,8 +2721,11 @@ var serviceContext = (function () { ...@@ -2721,8 +2721,11 @@ var serviceContext = (function () {
return false return false
} }
return page.$page.meta.isTabBar return page.$page.meta.isTabBar
}
if (!/^\//.test(path)) {
path = '/' + path;
} }
const route = __uniRoutes.find(route => route.path.replace(/^\//, '') === path.replace(/^\//, '')); const route = __uniRoutes.find(route => route.path === path);
return route && route.meta.isTabBar return route && route.meta.isTabBar
} catch (e) { } catch (e) {
if (process.env.NODE_ENV !== 'production') { if (process.env.NODE_ENV !== 'production') {
...@@ -7276,7 +7279,7 @@ var serviceContext = (function () { ...@@ -7276,7 +7279,7 @@ var serviceContext = (function () {
function parsePullToRefresh (routeOptions) { function parsePullToRefresh (routeOptions) {
const windowOptions = routeOptions.window; const windowOptions = routeOptions.window;
if (windowOptions.enablePullDownRefresh) { if (windowOptions.enablePullDownRefresh || (windowOptions.pullToRefresh && windowOptions.pullToRefresh.support)) {
const pullToRefreshStyles = Object.create(null); const pullToRefreshStyles = Object.create(null);
// 初始化默认值 // 初始化默认值
if (plus.os.name === 'Android') { if (plus.os.name === 'Android') {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册