Ant design pro successfully docked with the background and logged in, but could not jump to the main page.

Log in successfully but will not jump to the main page. If you change it to ant design pro"s own service, you can jump back to the main page.

clipboard.png

you can go to the judgment of login success, but it won"t jump. How do you fix this

?
Mar.28,2021

with the same request, I am also connected to my own service. After the login is successful, I cannot jump to the home page. Is the right not given?
I am not familiar with using dva, for the first time.

I found the problem:

clipboard.png

payload.currentAuthority admin

clipboard.png
setAuthority

clipboard.png

admin
admin


image.png
islogin


debugger~


effectslogin loginlogin


ant design



mock
image.png
image.png

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