摘要: 1.安装django-cors-headers模块 2.在INSTALLED_APPS中注册'corsheaders' 3.在settings.py做出如下配置: 阅读全文