搜索框内容更新
This commit is contained in:
parent
71c2d169a1
commit
eff27d668a
|
|
@ -94,6 +94,8 @@ app.controller('menuCtr', ['$scope', '$stateParams', '$state', '$window', '$time
|
||||||
|
|
||||||
$scope.searchByHistory = function(type, data) {
|
$scope.searchByHistory = function(type, data) {
|
||||||
$scope.searchWord = data;
|
$scope.searchWord = data;
|
||||||
|
$('.search-item').val($scope.searchWord);
|
||||||
|
|
||||||
$('.js-search-option').dropdown('set value', type);
|
$('.js-search-option').dropdown('set value', type);
|
||||||
var types = {};
|
var types = {};
|
||||||
types[0] = '书签';
|
types[0] = '书签';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue