安装环境:virtualbox6,deepin20.9,使用的默认sqlite3。
虚拟机上opera登录页正常显示验证码;
主机环境:windows10,chrome登录页显示3次网络错误,没有验证码。
chrome提示错误:
Acess to XMLHttpRequest at '8080/#/login?redirect=%2Findex:1 Access to XMLHttpRequest at 'http://127.0.0.1:8000/api/init/dictionary/?dictionary_key=all' from origin 'http://192.168.1.106:8080' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
问 验证码不显示,如何处理?