From 12fb3ed4d7082173589796400d22bc6401cb422f Mon Sep 17 00:00:00 2001 From: blackjack <576843117@qq.com> Date: Fri, 3 Sep 2021 00:14:03 +0800 Subject: [PATCH] fix percent --- ASoulCnki/popup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ASoulCnki/popup.js b/ASoulCnki/popup.js index b4cedb1..216d0d4 100644 --- a/ASoulCnki/popup.js +++ b/ASoulCnki/popup.js @@ -25,7 +25,7 @@ $('#search').on("click", function () { $('#result').html("恭喜你,你的是原创小作文,请继续保持!
"); }else{ let result = ''; - result += "重复率:" + data.data.rate + "
"; + result += "重复率:" + data.data.rate*100 + "%
"; let relatedText = data.data.related[0] let source = relatedText.reply_url; let ctime = new Date(parseInt(relatedText.reply.ctime) * 1000).toLocaleString().replace(/:\d{1,2}$/,' ');