When thinkphp5 logs out, do you always skip to the interface that waits for 3 seconds?

problem description

as shown in the figure below, when thinkphp5 logs out, he always jumps to the interface that waits for 3 seconds. Is there any way to jump to the login interface without going through the waiting interface?

the environmental background of the problems and what methods you have tried

I have tried to modify the tpl template in jump, but it doesn"t seem to work

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

I hope to be able to jump directly to the login interface without going through the interface of jumping and waiting for 3 seconds.

Apr.11,2021

return redirect (' http://www.thinkphp.cn');


you use the default jump writing method of tp, you use ajax to write exit, and write ajax in the jump place


header (" Location: https://www.baidu.com")

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