新增页面
有登陆过滤器 正式上线1.0
This commit is contained in:
@@ -30,12 +30,17 @@
|
||||
$('#header').load("/html/header.html");
|
||||
$('#footer').load("/html/footer.html");
|
||||
$('#side').load("/html/body/nas/side.html");
|
||||
$.get("/login/check.do", function (data) {
|
||||
let json = JSON.parse(data);
|
||||
if (json.code != 0) {
|
||||
window.location.href = "/"
|
||||
}
|
||||
})
|
||||
</script>
|
||||
<style>
|
||||
#icon {
|
||||
#icon {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.body {
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user