修复:传值问题

This commit is contained in:
yystopf 2026-03-24 17:37:07 +08:00
parent fcdfdc7c97
commit c53decf753
1 changed files with 1 additions and 1 deletions

View File

@ -2,6 +2,6 @@ json.total_count @memos.total_count
json.resident_expert do
json.partial! 'api/v1/resident_experts/resident_expert', locals: { resident_expert: @resident_expert }
end
json.memos do |memo|
json.memos @memos do |memo|
json.partial! 'api/v1/users/memos/memo', locals: { memo: memo, current_user: current_user }
end