Redirect on error to another component in Vue

后端 未结 0 1704
醉梦人生
醉梦人生 2020-11-21 23:12

I want to redirect from some page to 404 page if there is an error. It works but there is a cryptic error.

Profile.vue

methods: {
  async getProfile(id         


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