为什么一直报如图标记的错误啊 很奇怪 不管我写异步 还是promise 都是报这个错误 怎么解决啊?
hanqy
- 发布:2019-07-12 10:13
- 更新:2019-07-12 10:17
- 阅读:3034
hanqy (作者)
uni.request({
url: 'http://test.test:8080/img/' + imgName,
method: 'GET',
data: {},
success: res => {
console.log(res)
},
fail: () => {},
complete: () => {}
});
这是代码