vue中使用amis,内存占用过高,首次进入amis页面中加载慢
- Dominant language
- TypeScript
- Stars
- 18.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
amis版本号是3.6.4,使用方法是用的官方案例中的:https://github.com/aisuda/vue2-amis-demo/tree/main 中的方法


组件直接使用案例中的组件,在项目开发中发现内存的占用特别的高,这个是内存快照

这是两次截图的内存占用
并且在首次进入amis页面的时候,还会加载卡住个1秒左右,只要页面不刷新,再次跳转amis页面就没有再出现卡住的情况了
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the vue2-amis-demo linked in the report and reproduce the first navigation to the amis page while recording browser memory snapshots and load timing. Compare the first visit with later visits, then narrow the issue to a reproducible case and verify that the excessive memory use and initial loading delay are resolved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100