Commit 4c433538 by niuxinyu

关门优化4

parent 3f6c0cab
......@@ -39,7 +39,7 @@ const willCloseDoor=(data,flag=false)=>{
}).then((response)=>{
if(response.status==200&&response){
response.json()
return response.json()
}else{
var error = new Error(response.statusText)
......
......@@ -80,7 +80,7 @@ export default class HomePageContainer extends React.Component{
})
}else{
this.setState({ closeDoorStatus : 0},()=>{
alert('当前网络不佳,请稍后重试'+rtt)
alert('当前网络不佳,请稍后重试'+rtt+'/'+downlink+'/'+effectiveType)
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment