fetch向服务器发送http请求,实现网页的局部更新 fetch(‘url’) 返回promise,操作服务器响应内容 promise.then返回promise fetch.then也返回promise