Google浏览器,F12,进入Console
输入如下代码
// 按住shfit+Enter,可以下一行继续,不要直接Entervar xhr = new XMLHttpRequest(); // 向logout接口发起post请求,是异步的 xhr.open("POST", "/logout", true); xhr.send();
posted on 2020-11-11 22:17 我欲皆真 阅读(15816) 评论(0) 编辑 收藏 举报