mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-12 21:18:13 +08:00
修复两个问题,获取功率记录过早和大屏幕自动隐藏边栏所导致的bug
This commit is contained in:
@@ -298,7 +298,7 @@
|
||||
function ShowPage(id) {
|
||||
$(".page").hide();
|
||||
$(".page"+id).show();
|
||||
$(".mdl-layout__obfuscator").click()
|
||||
$(".is-small-screen >> .mdl-layout__drawer-button").click()
|
||||
}
|
||||
ShowPage(1);
|
||||
|
||||
@@ -343,7 +343,9 @@
|
||||
error: AjaxErr
|
||||
});
|
||||
}
|
||||
GetPowerRecord();
|
||||
$(document).ready(function(){
|
||||
GetPowerRecord();
|
||||
})
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user