diff --git a/src/store/modules/goods/comment.js b/src/store/modules/goods/comment.js index 1bb2ed1..62c6461 100644 --- a/src/store/modules/goods/comment.js +++ b/src/store/modules/goods/comment.js @@ -150,6 +150,10 @@ const actions = { data.commentTimeBegin = data.dateRange[0]; data.commentTimeEnd = data.dateRange[1]; } + if (data.scoreList) { + data.commentScoreList = data.scoreList.join(','); + delete data.scoreList; + } delete data.dateRange; delete data.pagingCode; const res = await api.commentList({