Axios: Is it bad practice to use try/catch?

后端 未结 0 567
忘了有多久
忘了有多久 2020-11-28 12:46

Im new at Programming, im doing a Login in VUE. Is it bad practice to use try/catch? .then .catch its better?

async EnvioLogin() {
  try {
    const response          


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