Fetch API always returning a promise

前端 未结 0 1469
栀梦
栀梦 2020-12-06 13:12

I have the following code where I am calling an api

const fetchToken = async () => {
  const response = await axios.post("http://localhost:3000/api/ge         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题