热门

最新

红包

立Flag

投票

同城

我的

发布
weixin_45861863
weixin_45861863
5 年前
trueweixin_45861863

请问大神们 这个要怎么改成循环
arr[0].countDevice =data[0].countDevice;
arr[1].countDevice =data[0].countDevice + data[1].countDevice;
arr[2].countDevice =data[0].countDevice + data[1].countDevice + data[2].countDevice;
arr[3].countDevice =data[0].countDevice + data[1].countDevice + data[2].countDevice + data[3].countDevice;
...

CSDN App 扫码分享
分享
评论
3
打赏
  • 复制链接
  • 举报
下一条:
立即登录