摘要: 如下是如上代码,无法接收返回参数: onLoad(){ const aa = await this.getRadioExams(); console.log("aa的值", aa) } 正确写法如下两种 添加 async ,本人测试成功 data() { return { radioList: [] 阅读全文
posted @ 2022-06-09 22:22 码哥之旅 阅读(417) 评论(0) 推荐(0) 编辑