js 对象的键值对添加-爱忘记上吧 let obj = { id:1,name:2};obj['dat'] = 3;console.log(obj.dat , 1);转载于:https://www.cnblogs.com/hr-cmbc/p/11277704.html php 2024-01-17 36 点赞 0 评论 54 浏览