2019年9月6日

es6: promise 对象 和 then() 的用法

摘要: <script> const request = function(){ var _this = this; let num = Math.round(Math.random()*100)/100; console.log( num ); return new Promise( (resolve, 阅读全文

posted @ 2019-09-06 16:50 liuhao1992 阅读(1170) 评论(0) 推荐(0) 编辑

导航