uniapp报错:request:fail Failed to execute ‘open’ on ‘XMLHttpRequest’: Invalid URL

#The first day of modifying the BUG of uni-app

Error message
If you encapsulate the method, and the url requested by this page is not encapsulated, but other url, you can’t continue to use your own encapsulation (my encapsulated method name is this.requestfz), but use the method that comes with uniapp (uni .request)

change error

Guess you like

Origin blog.csdn.net/qq_51463650/article/details/114823598