You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
consthttp={get(){asyncfetch_table_list(url='/table_list_api/',payload={}){returnawaitaxios.get(url,payload).then(res=>{// next 为请求下一页数据的完整URL,由后端框架封装,直接请求即可if(!res.body.next){returnres.body.results}returnhttp.get.fetch_table_list(res.body.next).then(lastResults=>{return[].concat(res.body.results,lastResults)});});}// fetch_table_api end}// get end}
相关链接:
The text was updated successfully, but these errors were encountered: