06 2019 档案

摘要:new Promise(function (resolve, reject) { $.ajax({ type : 'post', data : formData, dataType : 'json', url : url, success: function (data) { if (data.co 阅读全文
posted @ 2019-06-15 15:24 qinhuimin 阅读(366) 评论(0) 推荐(0)
摘要:1,在使用wepy框架创建的项目下 找到src/app.wpy 2,在app.wpy constructor方法中添加 super(); this.use('promisify');//启用ES6 promise this.use('requestfix'); this.intercept('req 阅读全文
posted @ 2019-06-04 17:07 qinhuimin 阅读(1467) 评论(0) 推荐(0)