feat:webui-test

This commit is contained in:
手瓜一十雪
2024-05-07 21:17:31 +08:00
parent 2ab91e363f
commit 5d77f50160
5 changed files with 193 additions and 167 deletions

View File

@@ -1,11 +1,22 @@
<!DOCTYPE html>
<html lang="en">
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WebUi - Index</title>
</head>
<body>
<script>
//读取localStorge 查看是否储存了为auth的数据
let authData = localStorage.getItem('auth');
if (authData) {
//请求下api 看看QQlogin没有 没有去登录
window.location.href = './config.html';
}
window.location.href = './login.html';
</script>
</body>
</html>