diff --git a/packages/uni-app-plus/dist/index.v3.js b/packages/uni-app-plus/dist/index.v3.js index 4422cf0ac790cd28f06ab52d8ebec0646a901f47..901f11c024bf4a79f357edf3e1c1a1351729786a 100644 --- a/packages/uni-app-plus/dist/index.v3.js +++ b/packages/uni-app-plus/dist/index.v3.js @@ -2721,8 +2721,11 @@ var serviceContext = (function () { return false } 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 } catch (e) { if (process.env.NODE_ENV !== 'production') { @@ -7276,7 +7279,7 @@ var serviceContext = (function () { function parsePullToRefresh (routeOptions) { const windowOptions = routeOptions.window; - if (windowOptions.enablePullDownRefresh) { + if (windowOptions.enablePullDownRefresh || (windowOptions.pullToRefresh && windowOptions.pullToRefresh.support)) { const pullToRefreshStyles = Object.create(null); // 初始化默认值 if (plus.os.name === 'Android') {