动态

详情 返回 返回

數組轉換 - 动态 详情

1、場景 :批量新增的時候後台接收的數組對象只需要一兩個參數的信息

image.png

console.log("selectedRows--", selectedRows)
  let arrnew = selectedRows.map((item,index) => {
      return Object.assign({},  {'group_Dr':item.group_Dr,"mapInterface_Dr":item.mapInterface_Dr})})
      console.log("arrnew--",arrnew)

後續迭代》》

user avatar dingtongya 头像 yinzhixiaxue 头像 zourongle 头像 anchen_5c17815319fb5 头像 hard_heart_603dd717240e2 头像 shuirong1997 头像 xiaolei_599661330c0cb 头像 yqyx36 头像 zzd41 头像 assassin 头像 hyfhao 头像 yangxiansheng_5a1b9b93a3a44 头像
点赞 84 用户, 点赞了这篇动态!
点赞

Add a new 评论

Some HTML is okay.