refactor: 新增清理缓存按钮
This commit is contained in:
parent
bfd1b313ab
commit
5e604c5bac
@ -6,9 +6,9 @@
|
|||||||
<meta name="viewport" content="width=device-width">
|
<meta name="viewport" content="width=device-width">
|
||||||
<title>Debug For XiaoMusic</title>
|
<title>Debug For XiaoMusic</title>
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="./style.css?version=1728752616">
|
<link rel="stylesheet" type="text/css" href="./style.css?version=1728855027">
|
||||||
<script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>
|
<script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>
|
||||||
<script src="./jquery-3.7.1.min.js?version=1728752616"></script>
|
<script src="./jquery-3.7.1.min.js?version=1728855027"></script>
|
||||||
|
|
||||||
<!-- Google tag (gtag.js) -->
|
<!-- Google tag (gtag.js) -->
|
||||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Z09NC1K7ZW"></script>
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Z09NC1K7ZW"></script>
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width">
|
<meta name="viewport" content="width=device-width">
|
||||||
<title>歌曲下载工具</title>
|
<title>歌曲下载工具</title>
|
||||||
<link rel="stylesheet" type="text/css" href="./style.css?version=1728752616">
|
<link rel="stylesheet" type="text/css" href="./style.css?version=1728855027">
|
||||||
<script src="./jquery-3.7.1.min.js?version=1728752616"></script>
|
<script src="./jquery-3.7.1.min.js?version=1728855027"></script>
|
||||||
|
|
||||||
<!-- Google tag (gtag.js) -->
|
<!-- Google tag (gtag.js) -->
|
||||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Z09NC1K7ZW"></script>
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Z09NC1K7ZW"></script>
|
||||||
|
@ -4,9 +4,9 @@
|
|||||||
<link rel="icon" href="/favicon.ico">
|
<link rel="icon" href="/favicon.ico">
|
||||||
<meta name="viewport" content="width=device-width">
|
<meta name="viewport" content="width=device-width">
|
||||||
<title>小爱音箱操控面板</title>
|
<title>小爱音箱操控面板</title>
|
||||||
<script src="./jquery-3.7.1.min.js?version=1728752616"></script>
|
<script src="./jquery-3.7.1.min.js?version=1728855027"></script>
|
||||||
<script src="./app.js?version=1728752616"></script>
|
<script src="./app.js?version=1728855027"></script>
|
||||||
<link rel="stylesheet" type="text/css" href="./style.css?version=1728752616">
|
<link rel="stylesheet" type="text/css" href="./style.css?version=1728855027">
|
||||||
|
|
||||||
<!-- Google tag (gtag.js) -->
|
<!-- Google tag (gtag.js) -->
|
||||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Z09NC1K7ZW"></script>
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Z09NC1K7ZW"></script>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<link rel="icon" href="/favicon.ico">
|
<link rel="icon" href="/favicon.ico">
|
||||||
<meta name="viewport" content="width=device-width">
|
<meta name="viewport" content="width=device-width">
|
||||||
<title>M3U to JSON Converter</title>
|
<title>M3U to JSON Converter</title>
|
||||||
<link rel="stylesheet" type="text/css" href="./style.css?version=1728752616">
|
<link rel="stylesheet" type="text/css" href="./style.css?version=1728855027">
|
||||||
|
|
||||||
<!-- Google tag (gtag.js) -->
|
<!-- Google tag (gtag.js) -->
|
||||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Z09NC1K7ZW"></script>
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Z09NC1K7ZW"></script>
|
||||||
|
@ -4,9 +4,9 @@
|
|||||||
<link rel="icon" href="/favicon.ico">
|
<link rel="icon" href="/favicon.ico">
|
||||||
<meta name="viewport" content="width=device-width">
|
<meta name="viewport" content="width=device-width">
|
||||||
<title>小爱音箱操控面板</title>
|
<title>小爱音箱操控面板</title>
|
||||||
<script src="./jquery-3.7.1.min.js?version=1728752616"></script>
|
<script src="./jquery-3.7.1.min.js?version=1728855027"></script>
|
||||||
<script src="./setting.js?version=1728752616"></script>
|
<script src="./setting.js?version=1728855027"></script>
|
||||||
<link rel="stylesheet" type="text/css" href="./style.css?version=1728752616">
|
<link rel="stylesheet" type="text/css" href="./style.css?version=1728855027">
|
||||||
|
|
||||||
<!-- Google tag (gtag.js) -->
|
<!-- Google tag (gtag.js) -->
|
||||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Z09NC1K7ZW"></script>
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Z09NC1K7ZW"></script>
|
||||||
@ -201,15 +201,6 @@ var vConsole = new window.VConsole();
|
|||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<button onclick="location.href='/static/default/index.html';">返回首页</button>
|
|
||||||
<button class="save-button">保存</button>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<button id="get_music_list">获取歌单</button>
|
|
||||||
<button id="refresh_music_tag">刷新tag</button>
|
|
||||||
<a class="button" href="/downloadlog" download="xiaomusic.txt">下载日志文件</a>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="rows">
|
<div class="rows">
|
||||||
<label for="yt_dlp_cookies_file">上传yt_dlp_cookies.txt文件:<a href="https://github.com/hanxi/xiaomusic/issues/210" target="_blank">文档</a></label>
|
<label for="yt_dlp_cookies_file">上传yt_dlp_cookies.txt文件:<a href="https://github.com/hanxi/xiaomusic/issues/210" target="_blank">文档</a></label>
|
||||||
<input id="yt_dlp_cookies_file" name="file" type="file">
|
<input id="yt_dlp_cookies_file" name="file" type="file">
|
||||||
@ -217,6 +208,17 @@ var vConsole = new window.VConsole();
|
|||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
|
<button onclick="location.href='/static/default/index.html';">返回首页</button>
|
||||||
|
<button id="get_music_list">获取歌单</button>
|
||||||
|
<button class="save-button">保存</button>
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
<button id="refresh_music_tag">刷新tag</button>
|
||||||
|
<button id="clear_cache">清空缓存</button>
|
||||||
|
<a class="button" href="/downloadlog" download="xiaomusic.txt">下载日志文件</a>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
<button onclick="location.href='/docs';">查看接口文档</button>
|
<button onclick="location.href='/docs';">查看接口文档</button>
|
||||||
<a class="button" href="./m3u.html" target="_blank">m3u文件转换</a>
|
<a class="button" href="./m3u.html" target="_blank">m3u文件转换</a>
|
||||||
<a class="button" href="./downloadtool.html" target="_blank">歌曲下载工具</a>
|
<a class="button" href="./downloadtool.html" target="_blank">歌曲下载工具</a>
|
||||||
|
@ -181,4 +181,7 @@ $(function(){
|
|||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
$("#clear_cache").on("click", () => {
|
||||||
|
localStorage.clear();
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user