发问const login = () => { ...{JSON.stringify(varName)}// Imagine this being called from a react component's constructorconsole.log(data);
(file.jsx)控制台输出:{list_test:'hello,'goodye'}
我在Azure应用程序服务中有一个react节点应用程序。在我的react代码中有一个环境变量REACT_APP_GOOGLE_MAPS_API_KEY,它保存在我的Azure应用程序配置设置中。只有在Azure调试控制台中手动运行npm run build时,才能从配置设置中正确读取环境变量。有没有办法让应用程序自动从应用程序配置设置中读取<e