uni封装请求方法并全局化及全局变量

首先创建common.js文件vue const status = 1 // const REQUEST = function(_url, _data, _getWay, _cb) { let that = this uni.request({ url: _url, data: _data || '', method: _getWay, header: { 'conte
相关文章
相关标签/搜索