mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-06 13:05:09 +00:00
feat:webui-test
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user