1. Delete the page number in the footer first, and then insert the page number again. Note the option of "Continued from the previous section".
2. Reset "Same as the previous section" in the footer. (Note that sometimes the error cannot be corrected after this setting is connected, but 1 can definitely.
After the header here goes in, cancel "Same as the previous section".
This is the icon in front.