flask解决跨域问题
from flask_cors import CORS
from flask import Flask
app = Flask(import_name=__name__)
app.secret_key = 'dasuvuyhsdbfdshi'
CORS(app, supports_credentials=True) #解决跨域问题
flask解决跨域问题
from flask_cors import CORS
from flask import Flask
app = Flask(import_name=__name__)
app.secret_key = 'dasuvuyhsdbfdshi'
CORS(app, supports_credentials=True) #解决跨域问题