搜索书签bug修复
This commit is contained in:
parent
dd13f85163
commit
823e1625b0
|
|
@ -305,11 +305,15 @@ app.controller('noteCtr', ['$scope', '$state', '$stateParams', '$filter', '$wind
|
|||
$scope.loading = true;
|
||||
var params = {
|
||||
page: $scope.currentPage,
|
||||
pageSize: 35,
|
||||
keyword: $scope.keyword,
|
||||
tagId: tagId || $scope.currentTagId
|
||||
pageSize: 35
|
||||
};
|
||||
|
||||
if (tagId || $scope.currentTagId) {
|
||||
params.tagId = tagId || $scope.currentTagId;
|
||||
} else if ($scope.keyword) {
|
||||
params.keyword = $scope.keyword;
|
||||
}
|
||||
|
||||
let reply = await get("notes", params);
|
||||
$timeout(function () {
|
||||
let notes = reply.data;
|
||||
|
|
|
|||
Loading…
Reference in New Issue