fix: 指派审核功能修复
Some checks failed
PR Preview / teardown-preview (pull_request) Has been skipped
Test / unit-test (push) Successful in 5s
Test / build-check (push) Successful in 4s
PR Preview / test (pull_request) Successful in 5s
PR Preview / deploy-preview (pull_request) Successful in 14s
Test / e2e-test (push) Failing after 56s

- pending recipes 初始化 _showAssign 和 _assignTo 属性
- 修复 Vue 响应式问题导致下拉框和发送按钮无反应

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-10 16:02:09 +00:00
parent f3e4329d1f
commit d42403f6ed

View File

@@ -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
}