搜索就算关键字不变,强制更新状态
This commit is contained in:
parent
14ac4a0aee
commit
6a16c739b1
|
|
@ -78,7 +78,7 @@ console.log([
|
||||||
"======`-.____`-.___\\_____/___.-`____.-'======",
|
"======`-.____`-.___\\_____/___.-`____.-'======",
|
||||||
" `=---='",
|
" `=---='",
|
||||||
"^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^",
|
"^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^",
|
||||||
" 佛祖保佑 永无BUG",
|
" 佛祖保佑 永无BUG",
|
||||||
" 写字楼里写字间,写字间里程序员;",
|
" 写字楼里写字间,写字间里程序员;",
|
||||||
" 程序人员写程序,又拿程序换酒钱。",
|
" 程序人员写程序,又拿程序换酒钱。",
|
||||||
" 酒醒只在网上坐,酒醉还来网下眠;",
|
" 酒醒只在网上坐,酒醉还来网下眠;",
|
||||||
|
|
|
||||||
|
|
@ -43,6 +43,8 @@ app.controller('menuCtr', ['$scope', '$stateParams', '$state', 'pubSubService',
|
||||||
$scope.searchBookmarks = function(searchWord) {
|
$scope.searchBookmarks = function(searchWord) {
|
||||||
$state.go('search', {
|
$state.go('search', {
|
||||||
searchWord: searchWord,
|
searchWord: searchWord,
|
||||||
|
},{
|
||||||
|
reload:true,
|
||||||
})
|
})
|
||||||
$scope.login = true;
|
$scope.login = true;
|
||||||
updateMenuActive($scope.selectLoginIndex = 0);
|
updateMenuActive($scope.selectLoginIndex = 0);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue