|
@@ -308,7 +308,9 @@
|
|
|
// 关闭浏览器窗口的时候清空浏览器缓存在localStorage的数据
|
|
// 关闭浏览器窗口的时候清空浏览器缓存在localStorage的数据
|
|
|
window.onbeforeunload = function (e) {
|
|
window.onbeforeunload = function (e) {
|
|
|
var storage = window.localStorage;
|
|
var storage = window.localStorage;
|
|
|
|
|
+ var session = window.sessionStorage;
|
|
|
storage.clear()
|
|
storage.clear()
|
|
|
|
|
+ session.clear()
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 获取系统时间
|
|
// 获取系统时间
|