js cookie设置, 获取, 删除
var cookie = {
setCookie(c_name,c_value,expireTime){
let expDate = new Date();
expDate.setDate(expDate.getDate() + expireTime);
document.cookie = c_name + '=' + c_value + ((expireTime ==?) "" :...
原创
2019-07-19 10:58:31 ·
113 阅读 ·
0 评论