Skip to content

Commit

Permalink
fix percent
Browse files Browse the repository at this point in the history
  • Loading branch information
yifu-yang committed Sep 2, 2021
1 parent 7a3992b commit 12fb3ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ASoulCnki/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ $('#search').on("click", function () {
$('#result').html("恭喜你,你的是原创小作文,请继续保持!</br>");
}else{
let result = '';
result += "重复率:" + data.data.rate + "</br>";
result += "重复率:" + data.data.rate*100 + "%</br>";
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}$/,' ');
Expand Down

0 comments on commit 12fb3ed

Please sign in to comment.