Create-react-app uses fetch to cross domains?

the react project created by create-app-react uses fetch to request the interface of ele.me. Cross-domain settings have been configured in package.json, but the request has no effect

"proxy":{
    "/api":{
      "target":"https://h5.ele.me",
      "changeOrigin":true
    }
  }
componentDidMount(){
    fetch("/api/restapi/shopping/openapi/entries?latitude=34.04347829999999&longitude=-118.2519314&templates[]=main_template&templates[]=favourable_template&templates[]=svip_template&terminal=h5").then(response => {
      console.log(response);
      return response;
    })
  }

clipboard.png


"proxy":{
    "/api":{
      "target":"https://h5.ele.me",
      "changeOrigin":true,
      "pathRewrite": {
           "^/api": "/"
        }
    }
  }
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e88c38-f01.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e88c38-f01.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?