From d1214d4cbd930feb4c6058de23fb21c6d83fd826 Mon Sep 17 00:00:00 2001 From: Jz0ojiang Date: Wed, 12 Aug 2026 03:36:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BE=A7=E6=A0=8F=E7=9A=84=E9=87=8D=E5=90=AF?= =?UTF-8?q?=E7=A1=AE=E8=AE=A4=E6=96=87=E6=A1=88=E6=94=B9=E6=88=90=E5=92=8C?= =?UTF-8?q?=E4=BB=AA=E8=A1=A8=E7=9B=98=E5=90=8C=E4=B8=80=E5=8F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 同一个动作两处入口不该说两种话。上一提交按配置动态措辞的那套撤掉。 --- web/App.vue | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/web/App.vue b/web/App.vue index bab9f07..caf0d74 100644 --- a/web/App.vue +++ b/web/App.vue @@ -100,17 +100,6 @@ const busyAct = ref(false) const historyOpen = ref(false) const askRestart = ref(false) -/** - * 重启后各组选中的线路能不能找回来:内核把选中记在缓存文件里,由 - * profile.store-selected 控制,默认开(config.go:576),显式写 false 才会丢。 - * 按用户的配置说话,不把配置项名字甩给他。 - */ -const keepsSelection = computed(() => { - const profile = snapshot.value?.data.profile - if (typeof profile !== 'object' || profile === null || Array.isArray(profile)) return true - return (profile as Record)['store-selected'] !== false -}) - async function undo() { if (busyAct.value) return busyAct.value = true @@ -388,13 +377,10 @@ const current = computed(() => NAV.find((n) => n.key === active.value)) +