在官方DEMO上, 同樣出現這問題
https://preview.pro.ant.design/dashboard/analysis
按退出登錄按鈕

在沒有任何帳號密碼資訊情況下

將URL標注的部分刪掉, 即只保留 https://preview.pro.ant.design 這部分, 按回車還是可以進入頁面

無法login
官网的示例浏览只是个Demo
试试在 SecurityLayout 中做判断, SecurityLayout 中 有一个 const isLogin
Most helpful comment
官网的示例浏览只是个Demo
试试在
SecurityLayout中做判断,SecurityLayout中 有一个const isLogin