cookies.setCookie("UserType", result.UserType, null, '/'); cookies.deleteCookie("UserType", "/"); 转载于:https://www.cnblogs.com/WuHZ/p/7060202.html