From eff27d668a6dd04fb1804e0532d8cd1bc6800c4d Mon Sep 17 00:00:00 2001 From: luchenqun Date: Mon, 10 Apr 2017 17:09:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=9C=E7=B4=A2=E6=A1=86=E5=86=85=E5=AE=B9?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/scripts/controllers/menus-controller.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/scripts/controllers/menus-controller.js b/public/scripts/controllers/menus-controller.js index 2de8a14..405c796 100644 --- a/public/scripts/controllers/menus-controller.js +++ b/public/scripts/controllers/menus-controller.js @@ -94,6 +94,8 @@ app.controller('menuCtr', ['$scope', '$stateParams', '$state', '$window', '$time $scope.searchByHistory = function(type, data) { $scope.searchWord = data; + $('.search-item').val($scope.searchWord); + $('.js-search-option').dropdown('set value', type); var types = {}; types[0] = '书签';