login页,齿轮图适配火狐

This commit is contained in:
chenjinsong
2018-12-28 09:34:17 +08:00
parent 6b189ec768
commit a143f953c4

View File

@@ -527,9 +527,20 @@
};
lines_Chart_chu.setOption(line_chu_option);
var url = window.location.href;
var parm = parseInt(Math.random() * 10);
if (url.lastIndexOf('?') > -1) {
  url = url + parm;
} else {
  url = url + "?" + parm;
}
$(window).resize(function(){
window.location.reload();
window.location.href = url;
});
/* $(window).resize(function(){
window.location.reload();
}); */
</script>
</body>
</html>