Commit 5f58a7d5 authored by antoor's avatar antoor

Repairing data errors

修复数据错误
parent fe65bff2
......@@ -90,12 +90,13 @@ class ViewSite {
}).then((cookie) => {
let data = [];
cookie.map((c, i) => {
window.C = c;
data.push({
id: i + 1,
data: [
c.name, c.value, c.domain,
c.path, new Date(c.expirationDate).toUTCString(),
c.name.length + c.value.length, c.httpOnly, c.secure
c.path, c.session ? 'Session' : new Date(c.expirationDate).toUTCString(),
c.name.length + c.value.length, c.httpOnly ? 'httpOnly': '', c.secure ? 'Secure': ''
]
});
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment