toolbar are overridden instead of hidden

Every time I open the second page, I will hide it first. Then,From the second page to the home page, it will be displayed again. I can obviously feel that it is a display and hidden action. This experience is not very good. Can I directly overwrite it when entering the second page instead of hiding it