页面卸载前把cookie清空即可 window.addEventListener('beforeunload', funciton (){ Cookie.set('token', null); }, false)
页面卸载前把
cookie
清空即可