摘要:
1.安装 django-cors-headers pip install django-cors-headers 2.修改 setting.py INSTALLED_APPS = [...'corsheaders',...] # 添加中间件 MIDDLEWARE = [ 'django.middle 阅读全文
摘要:
1.安装 django-cors-headers pip install django-cors-headers 2.修改 setting.py INSTALLED_APPS = [...'corsheaders',...] # 添加中间件 MIDDLEWARE = [ 'django.middle 阅读全文