I found that beforeEach, the vue navigation guard, can verify login permissions, so is there no need for axios interceptors? I hope the bosses will tell us what you think.
or rather, the axios interceptor is sufficient, and there is no need for vue navigation guards. Bosses, please answer