This commit is contained in:
qingwei.li
2017-05-19 11:36:56 +08:00
parent 6cbed4b4d8
commit 26db33dc31

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')
}
}