From 1ef80be88371e0047d8125dbe352fce15d008f8f Mon Sep 17 00:00:00 2001 From: jiayuLian Date: Sun, 8 Nov 2026 17:08:51 +0800 Subject: [PATCH] fix(music): default a new pool account to exclusive (capacity = 1) Sharing one login between members mixes their playback history and recommendations, which is almost never what an admin means by handing out an account. Keep 0 (= unlimited) available, but not as the default. --- web/src/components/MusicAccountPool.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/web/src/components/MusicAccountPool.vue b/web/src/components/MusicAccountPool.vue index f4a143e..d71d82f 100644 --- a/web/src/components/MusicAccountPool.vue +++ b/web/src/components/MusicAccountPool.vue @@ -140,7 +140,9 @@ const users = ref([]); const platforms = ref>([]); const creating = ref(false); const error = ref(''); -const draft = reactive({ platform: 'netease', label: '', cookie: '', capacity: 0 }); +// Default to exclusive: sharing one login between members mixes their +// playback history and recommendations, which is almost never intended. +const draft = reactive({ platform: 'netease', label: '', cookie: '', capacity: 1 }); const cookieDraft = reactive>({}); const probeResult = ref>({}); @@ -192,7 +194,7 @@ async function create() { }); draft.label = ''; draft.cookie = ''; - draft.capacity = 0; + draft.capacity = 1; await load(); } catch (err) { error.value = errText(err, '添加失败');