Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
unidocs-uni-app-x-zh
提交
3900a098
U
unidocs-uni-app-x-zh
项目概览
DCloud
/
unidocs-uni-app-x-zh
通知
74
Star
0
Fork
13
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
2
列表
看板
标记
里程碑
合并请求
9
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
unidocs-uni-app-x-zh
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
2
Issue
2
列表
看板
标记
里程碑
合并请求
9
合并请求
9
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
3900a098
编写于
5月 10, 2024
作者:
DCloud_Heavensoft
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update get-current-pages.md
上级
81fab85a
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
3 addition
and
2 deletion
+3
-2
docs/api/get-current-pages.md
docs/api/get-current-pages.md
+3
-2
未找到文件。
docs/api/get-current-pages.md
浏览文件 @
3900a098
...
@@ -18,8 +18,9 @@
...
@@ -18,8 +18,9 @@
|backgroundColorContent |string |4.15 |4.15 |x |#ffffff|页面容器背景色 |
|backgroundColorContent |string |4.15 |4.15 |x |#ffffff|页面容器背景色 |
**注意事项**
**注意事项**
-
app-ios平台:在page.json 中设置页面
`enablePullDownRefresh`
为
`false`
时,无法通过
`$setPageStyle`
方法动态开启页面下拉刷新 (app-ios平台在
`HBuilderX-4.15`
版本已修复该问题)
-
web端由于会自动摇树优化未使用的特性,如果整个项目中都没有使用到下拉刷新
`enablePullDownRefresh`
,那么下拉刷新功能会被摇掉,此时设置打开下拉刷新将无效。
-
web端由于会自动优化未使用的特性,如果整个项目中都没有使用到
`enablePullDownRefresh`
,那么此属性也无法动态切换
-
4.15版本前,app-ios平台在page.json 中设置页面
`enablePullDownRefresh`
为
`false`
时,无法通过
`$setPageStyle`
方法动态开启页面下拉刷新。新版已修复该问题。
<!-- UTSAPIJSON.getCurrentPages.example -->
<!-- UTSAPIJSON.getCurrentPages.example -->
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录