This commit is contained in:
qingwei.li 2017-05-19 11:36:56 +08:00
commit 26db33dc31
No known key found for this signature in database
GPG key ID: B6DDC2F7AE80B2F4

View file

@ -45,8 +45,7 @@ export function get (url, hasBar = false) {
const result = cache[url] = {
content: target.response,
opt: {
updatedAt: xhr.getResponseHeader('last-modified') ||
xhr.getResponseHeader('expires')
updatedAt: xhr.getResponseHeader('last-modified')
}
}