Users canvas local picture cross-domain error reporting solution
1. Set up cross-domain
# Add cross-domain conditions # The premise is that the backend supports this image cross-domain crossorigin="anonymous"
2. If after adding the above, it still reports an error
as shown in the title
You need to put your project on the server to run
Or build a local server by yourself
then visit your html