Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SSARCandy committed Mar 30, 2016
1 parent 0fc999b commit bf7b399
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions app/angular/seek/seek.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,12 @@ function SeekController(
vm.loading = true;
vm.mapBound = bound.toUrlValue();
onSearch({
name : vm.searchGoodsName,
category : vm.searchGoodsCategory,
bound : vm.searchWithBound ? vm.mapBound : '',
global : vm.searchWithBound ? 0 : 1,
name: vm.searchGoodsName,
category: vm.searchGoodsCategory,
bound: vm.searchWithBound ? vm.mapBound : '',
global: vm.searchWithBound ? 0 : 1
});
});

$scope.$watch('vm.searchGoodsCategory', function() {
onSearch({
Expand Down

0 comments on commit bf7b399

Please sign in to comment.