為什么查詢數(shù)據(jù)接口返回數(shù)據(jù)失???
###
Failed to fetch.
Possible Reasons:
CORS
Network Failure
URL scheme must be "http" or "https" for CORS request.
原因是這條語句:
return?db.query( ????models.Data).filter( ????models.Data.city.has( ????????province=city))
使用上面語句會堆棧溢出,查不了數(shù)據(jù),怎么解決?
數(shù)據(jù)表關聯(lián)沒問題,好Jack老師的一樣?有大佬解決一下嗎
2021-04-28
改成這樣: