搜索后的增加跳转
This commit is contained in:
parent
27cd720550
commit
c7e09e6cf4
|
|
@ -46,6 +46,15 @@ app.controller('searchCtr', ['$scope', '$state', '$stateParams', '$filter', '$wi
|
|||
|
||||
}
|
||||
|
||||
$scope.jumpToUrl = function(url, id) {
|
||||
if (!$scope.edit) {
|
||||
$window.open(url, '_blank');
|
||||
bookmarkService.clickBookmark({
|
||||
id: id
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
$scope.delBookmark = function(bookmarkId) {
|
||||
var params = {
|
||||
id: bookmarkId
|
||||
|
|
|
|||
Loading…
Reference in New Issue