移除返回旧版入口和相关代码

This commit is contained in:
eafonyang
2026-08-17 14:56:38 +08:00
parent 3ad409cc91
commit 083423c4af
8 changed files with 11 additions and 22 deletions
-10
View File
@@ -32,7 +32,6 @@ import {
Sliders,
Activity,
Gauge,
Undo2,
Bluetooth,
SkipBack,
SkipForward,
@@ -876,15 +875,6 @@ export default function Home() {
thumbnail={`${import.meta.env.BASE_URL}images/vu/vu${(ds.vu ?? 0) + 1}.png`}
onClick={() => setLocation("/vu")}
/>
<ListRow
icon={<Undo2 size={18} />}
label={homeText.backToLegacy ?? "返回旧版"}
onClick={() => {
const target = ip.trim();
if (!target) return;
window.location.href = `https://am.luxsinaudio.com/x8/i.html?ip=${encodeURIComponent(target)}#/home`;
}}
/>
<ListRow
icon={<BookOpenCheck size={18} />}
label={homeText.changelog ?? "更新说明"}