hookehuyr

fix: 修复提交评论时字段名错误的问题

在提交评论时,将 `review.content` 改为 `review.note`,以匹配接口字段名
...@@ -329,7 +329,7 @@ const handlePurchase = () => { ...@@ -329,7 +329,7 @@ const handlePurchase = () => {
329 const handleReviewSubmit = async (review) => { 329 const handleReviewSubmit = async (review) => {
330 const { code, msg } = await addGroupCommentAPI({ 330 const { code, msg } = await addGroupCommentAPI({
331 group_id: course.value?.id, 331 group_id: course.value?.id,
332 - note: review.content, 332 + note: review.note,
333 score: review.rating 333 score: review.rating
334 }) 334 })
335 if (code) { 335 if (code) {
......