The question about which tabs is selected when ant design tabs returns

when using ant design"s tabs, as shown in the following figure, you can enter different details pages in both published and unpublished lists, but when you return, you always select the released tab, by default. I think if the unpublished details page comes back, the unreleased tab, is selected. I hope you can give me some suggestions. Thank you!

clipboard.png

Mar.15,2021

property of Tabs defaultActiveKey is set to a variable

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-1b36fc5-2c061.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-1b36fc5-2c061.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?