then()方法是异步执行

then()方法是异步执行
就是当.then()前的方法执行完后再执行then()内部的程序
这样就避免了,数据没获取到等的问题

posted on 2017-05-08 16:24  童彪  阅读(922)  评论(0编辑  收藏  举报

导航