From e9de34aca85fd0f57c5589af2533dea2d354cf86 Mon Sep 17 00:00:00 2001 From: handongxun Date: Mon, 29 Jun 2020 11:07:26 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20update=20subnvue=20getSubNVueById=20?= =?UTF-8?q?=E6=B3=A8=E6=84=8F=E4=BA=8B=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/collocation/frame/subNVues.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/collocation/frame/subNVues.md b/docs/collocation/frame/subNVues.md index db613a0df..6dfb594ac 100644 --- a/docs/collocation/frame/subNVues.md +++ b/docs/collocation/frame/subNVues.md @@ -168,4 +168,5 @@ subNvue.onMessage(function(data){ - 了解更多 `subNVue` 原生子窗体的用途,请详读[subNVues 原生子窗体开发指南](https://ask.dcloud.net.cn/article/35948) - 在hello uni-app的接口-界面-原生子窗体中,有完整的subNVue示例,包括带渐变色的原生导航栏、可遮盖地图的侧滑菜单、可从顶部弹出的popup、可在视频上滚动的消息列表 - 每个 `subNVue` 页面都要在 pages.json 中注册 -- `subNVue` 比cover-view和plus.nativeObj.view更强大,也占用更多内存,为了保证更好的性能体验,一个vue页面不要加载太多 `subNVue` 子窗体,建议控制在三个以内 \ No newline at end of file +- `subNVue` 比cover-view和plus.nativeObj.view更强大,也占用更多内存,为了保证更好的性能体验,一个vue页面不要加载太多 `subNVue` 子窗体,建议控制在三个以内 +- `getSubNVueById` 需要在页面生命周期 `onReady` 中调用 \ No newline at end of file -- GitLab