How can I redirect top-level routes but not child routes?

前端 未结 0 1321
渐次进展
渐次进展 2021-02-05 04:57

I need to redirect user to auth page if they aren\'t authorized. The redirect works fine.

So the question is how to redirect everything to one page, but not redirect subp

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