摘要: 4参:上 右 下 左 margin:10px 5px 15px 20px; 3参:上 右 下 margin:10px 5px 15px; 2参:上下 左右 margin:10px 5px; 阅读全文
posted @ 2019-12-20 18:49 鸣人卷~~ 阅读(229) 评论(0) 推荐(0)
摘要: 用 async/await 来处理异步 await关键字只能放到async函数里面,通过await得到就是Promise返回的内容;当然也能通过then()去获取,若通过then()获取了则就无Promise返回了,接受变量为undefined。因为Promise状态只能从pending改变一次 昨 阅读全文
posted @ 2019-12-20 16:41 鸣人卷~~ 阅读(4827) 评论(0) 推荐(0)