How to refresh the content when switching the menu at the bottom of WeChat Mini Programs

I"ve seen how to set the contents of the switch menu at the bottom of the switch before in the video tutorial, but I can"t find where to set it. The old driver with the settings took me

.
Mar.23,2021

you can set the refresh operation in the page onShow () function

Menu