-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
52 lines (48 loc) · 1.06 KB
/
index.html
File metadata and controls
52 lines (48 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico">
<link rel="stylesheet" href="/iconfont.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>VSS-Task</title>
</head>
<style>
i.btn {
cursor: pointer;
}
i.btn + i.btn {
margin-left: 8px;
}
</style>
<script>
function clearSettings () {
localStorage.setItem("settings", '{"nodePackageTools":"pnpm"}')
}
function clearLProject () {
localStorage.setItem("project", "[]")
}
function openDev () {
window.electron_utils.openDev()
}
</script>
<body>
<div id="app">
<div class="error-help">
<h3>Loading...</h3>
<button onclick="clearSettings()">清理设置缓存</button>
<button onclick="clearLProject()">清理项目缓存</button>
<button onclick="openDev()">打开调试台</button>
</div>
</div>
<script type="module" src="/src/main.jsx"></script>
</body>
<style>
.error-help {
padding-left: 24px;
}
#app{
background-color: #fff;
}
</style>
</html>