2023年12月18日发(作者:)
//(config); if ( == 'post') { = { ..., _t: (new Date()) / 1000 }; } else if ( == 'get') { = { _t: (new Date()) / 1000, ... }; } s['Cache-Control'] = 'no-cache';在axios请求上加时间戳,骗过ie浏览。
2023年12月18日发(作者:)
//(config); if ( == 'post') { = { ..., _t: (new Date()) / 1000 }; } else if ( == 'get') { = { _t: (new Date()) / 1000, ... }; } s['Cache-Control'] = 'no-cache';在axios请求上加时间戳,骗过ie浏览。
发布评论