会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
盘思动
三思而后折腾!
博客园
首页
新随笔
联系
订阅
管理
2023年8月14日
vue watch 数组对象中用法
摘要: [{count:1,price:2},{count:2,price:3}] 如何通过监听里面count,price,每个对象中增加赋值totalprice字段 <template> <div> <ul> <li v-for="(item, index) in items" :key="index">
阅读全文
posted @ 2023-08-14 14:57 盘思动
阅读(57)
评论(0)
推荐(0)
编辑
公告