From d105a07de0b038c22ca00708d5c07f547eb55cd6 Mon Sep 17 00:00:00 2001 From: woomay <819402491@qq.com> Date: Mon, 6 Apr 2020 16:07:20 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=AA=97=E5=8F=A3=E5=B7=B2=E6=89=93?= =?UTF-8?q?=E5=BC=80=E4=BB=85=E5=88=B7=E6=96=B0=E5=90=A6=E5=88=99=E6=96=B0?= =?UTF-8?q?=E5=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/js/keyword.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/js/keyword.js b/static/js/keyword.js index e431fcc..d583a21 100644 --- a/static/js/keyword.js +++ b/static/js/keyword.js @@ -253,11 +253,12 @@ $(function () { function openSearch(keyword) { var type = getSeachType(); + console.log('type', type) var baseUrl = search_types.find(function (item) { return item.type === type; }); if (baseUrl && keyword) { - window.open(baseUrl.url + keyword); + window.open(baseUrl.url + keyword, keyword); } } }); \ No newline at end of file