摘要: 有时候因为接口没开,或者其他原因,导致http.request 请求延时,一直耗费资源不说,还会导致程序报错崩溃,延时处理其实也是一种错误处理。 直接上代码: 阅读全文
posted @ 2016-10-28 20:47 Boom__Clap 阅读(9219) 评论(0) 推荐(0) 编辑
摘要: 1、app.js 2、auth.js(前端post数据,调用这个方法) 3、index.js(app.js的routers) 阅读全文
posted @ 2016-10-28 20:30 Boom__Clap 阅读(347) 评论(0) 推荐(0) 编辑