dcloudio / dcloudio/mui

页面预加载数量限制及相关问题

Open
#163 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
13.5k
Forks
6.5k
PR merge metrics
No merged PRs in 30d

Description

1、页面预加载数量是否有限制,或者推荐小于多少?经过观察和测试,页面预加载数量超过15个就会报“Maximum call stack size exceeded”或部分页面提示plus not ready。
2、使用mui.init预加载时,如果预加载的A页面再预加载B页面,一定要用mui.openWindow打开A页面才能触发B页面的预加载,而预加载的页面无法通过mui.openWindow来传值。也不能使用mui.fire通知A页面打开自己,打开后会导致B页面无法打开。

官方是否有预加载的推荐使用方式的demo,或是文档。
目前只能几个页面使用预加载,其他页面直接抛弃预加载而使用现载。

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.