From d42403f6ed663b3e1ba01cbb38c78db6b980d8b4 Mon Sep 17 00:00:00 2001 From: Hera Zhao Date: Fri, 10 Apr 2026 16:02:09 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=8C=87=E6=B4=BE=E5=AE=A1=E6=A0=B8?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - pending recipes 初始化 _showAssign 和 _assignTo 属性 - 修复 Vue 响应式问题导致下拉框和发送按钮无反应 Co-Authored-By: Claude Opus 4.6 (1M context) --- frontend/src/views/RecipeManager.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/RecipeManager.vue b/frontend/src/views/RecipeManager.vue index f920396..58c110d 100644 --- a/frontend/src/views/RecipeManager.vue +++ b/frontend/src/views/RecipeManager.vue @@ -1264,7 +1264,9 @@ function onTagPickerSave(tags) { watch(() => recipeStore.recipes, () => { if (auth.isAdmin) { - const pending = recipeStore.recipes.filter(r => r._owner_id && r._owner_id !== auth.user.id) + const pending = recipeStore.recipes + .filter(r => r._owner_id && r._owner_id !== auth.user.id) + .map(r => ({ ...r, _showAssign: false, _assignTo: '' })) pendingRecipes.value = pending pendingCount.value = pending.length }