程序员茄子
全部
编程
代码
资讯
案例
综合
联系我们
shallowRef 相关技术文章
php
mysql
shell
go
vue
css
api接口对接
支付接口对接
Vue 5000 行订单列表敲一个字卡 260ms:换 computed 只省 15ms,虚拟滚动才治本
编程
Vue 5000 行订单列表敲一个字卡 260ms:换 computed 只省 15ms,虚拟滚动才治本
2026-11-26 21:31:28
5000 行订单列表加搜索框,每敲一个字符卡 260ms:原因是每次按键 patch 两万多个 DOM 单元格。用 app.config.performance 和 onRenderTriggered 定位后,把模板方法换成 computed 只降到 245ms,index 换 id key 也只省十几毫秒;真正的解是虚拟滚动(9ms)、shallowRef、输入防抖(5ms)。附四处虚拟滚动的硬代价与取舍表。
Vue
前端性能
虚拟滚动
shallowRef
大家都在搜索什么?
devops
易支付
一个官网+多少钱
统一接受回调
统一回调
python
sub
node
宝塔日志
mysql
shell
ElasticSearch
css
vue
api接口对接
2025
支付接口对接
go
php
php回调