visuddhinanda 4 лет назад
Родитель
Сommit
bd9f260b35
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      app/search/paliword.js

+ 2 - 0
app/search/paliword.js

@@ -24,6 +24,8 @@ function paliword_search(keyword, words = new Array(), book = new Array()) {
 			let result = JSON.parse(data);
 			console.log(result.time);
 			let html = "";
+			let iTotleTime = result.time[result.time.length-1].time;
+			html += "<div>查询到 "+result.data.length+" 条结果 "+iTotleTime+"秒</div>";
 			for (const iterator of result.data) {
 				html += render_word_result(iterator);
 			}