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

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

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

猜你喜欢

转载自blog.csdn.net/gaoqiang1112/article/details/81076234