提交 3900a098 编写于 作者: DCloud_Heavensoft's avatar DCloud_Heavensoft

Update get-current-pages.md

上级 81fab85a
...@@ -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.
先完成此消息的编辑!
想要评论请 注册