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
相關文章
相關標籤/搜索