/*如果客户端判断cookie存在,删除客户端cookie,刷新页面*/ if ($.cookie('u')) { var options = {"path": "/"}; $.cookie('u', null, options); window.location.reload(); }