都找不到对应的教程哎,大佬们,求教导
Create-react-app 如何安装和使用ES7的Async/Await呢?
是的,报错 Parsing error: await is a reserved word
componentDidMount(){
let res = await axios.get(’/api/sign/get-user-info’)
console.log(res,'555555555')
}
这是啥原因
是的,报错 Parsing error: await is a reserved word
componentDidMount(){
let res = await axios.get(’/api/sign/get-user-info’)
console.log(res,'555555555')
}
这是啥原因