Uncaught (in promise) DOMException: Failed to execute 'open' on 'XMLHttpRequest': Invalid URL

DOMException: Failed to execute 'open' on 'XMLHttpRequest': Invalid URL at dispatchXhrRequest

解决方案:url前面一定要加http://

原文地址:https://www.cnblogs.com/cap-rq/p/10315872.html