Exit at the hyperlink, you want to use the parent node in JS
<a href="javascript:parent.location.href='/user/logout'" class="cks">退出</a>
Exit at the hyperlink, you want to use the parent node in JS
<a href="javascript:parent.location.href='/user/logout'" class="cks">退出</a>