怎么将遍历出来的对象分别添加到state中的数组对象中

问题遇到的现象和发生背景

img

问题相关代码,请勿粘贴截图
information.map((item) => {
        fetch(item, { method: 'get', mode: 'cors' })
          // 第一个then  设置请求的格式
          .then((e) => e.json())
          // 第二个then 处理回调
          .then((data) => {
            console.log(data);
          });
      });
    } else {
      message.error(result.message);
    }

img

运行结果及报错内容
我的解答思路和尝试过的方法
我想要达到的结果

看这个你就明白了https://blog.csdn.net/qq_42556623/article/details/120543441

双重循环

一般上不建议循环里调用接口

你把大问题和全部代码放上来看下,我不明白你问什么要这样做