随笔分类 -  小程序

摘要:前言 封装wx.request为异步,以便利用async await function http(options){ return new Promise((reslove,reject)=>{ wx.request({ url:options.url, method:options.method, 阅读全文
posted @ 2019-06-08 20:23 知了呀 阅读(108) 评论(0) 推荐(0)