wxd
/
MShopWeApp
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code »
Commit
2274049b8e18f9f7224e752943efb44a5b96b21a
Authored by
yvan.ni
2024-02-03 17:07:04 +0800
1 parent
3a704d91
E包在进入小程序就开始预加载,在开发者工具上看不到效果,要在手机上才有效果
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
app.json
app.json
View file @
2274049
...
...
@@ -243,6 +243,14 @@
243
243
}
244
244
],
245
245
246
+ "preloadRule": {
247
+ "pages/index/index/index": {
248
+ "network": "all",
249
+ "packages": [
250
+ "pack5"
251
+ ]
252
+ }
253
+ },
246
254
247
255
"permission": {
248
256
"scope.userLocation": {
...
...