首先要打开react native debugger,
找到项目的以下路径node_modules/react-native/Libraries\Core\setUpXHR.js;
找到polyfillGlobal('XMLHttpRequest', () => require('../Network/XMLHttpRequest'));将此句注释;
首先要打开react native debugger,
找到项目的以下路径node_modules/react-native/Libraries\Core\setUpXHR.js;
找到polyfillGlobal('XMLHttpRequest', () => require('../Network/XMLHttpRequest'));将此句注释;