From 647f298558c4e4c199b1caa27572134530a9bb63 Mon Sep 17 00:00:00 2001 From: ch Date: Tue, 28 Jun 2022 21:06:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9=E8=AF=84=E5=88=86?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/goods/comment.js | 4 ++++ 1 file changed, 4 insertions(+) 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({