Wechat official account project, the link to the custom menu is to jump to the personal information page of the project.
does the logic in main.js. If you don"t log in, you will jump to the login page, and then jump to the personal information page after logging in.
but if you enter through a custom menu, if you are not logged in, the personal information page will appear first each time, and then jump to the registration page. How can this situation be optimized?