Setting navigationOptions is invalid when using React-navigation

using React-navigation version 2.6.2, there was a problem setting up navigationOptions for a single page.
if it"s a second-tier page, there"s nothing wrong with navigationOptions. If it"s a first-tier page, the navigationOptions setting is invalid. What"s the matter? the same code is valid in react-navigation 1.x

.
Apr.09,2021

have you solved the problem? ask the boss for advice

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e54b05-43dae.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e54b05-43dae.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?