自己不想看热门
This commit is contained in:
parent
97a35af919
commit
70f166de70
|
|
@ -33,6 +33,9 @@ app.controller('menuCtr', ['$scope', '$stateParams', '$state', '$window', '$time
|
||||||
$scope.user = user;
|
$scope.user = user;
|
||||||
$scope.searchHistory = JSON.parse(user.searchHistory || '[]');
|
$scope.searchHistory = JSON.parse(user.searchHistory || '[]');
|
||||||
$scope.quickUrl = JSON.parse(user.quickUrl || '{}');
|
$scope.quickUrl = JSON.parse(user.quickUrl || '{}');
|
||||||
|
if (user.username === 'lcq') {
|
||||||
|
$scope.loginMenus[dataService.LoginIndexHot].show = false;
|
||||||
|
}
|
||||||
for (const item of $scope.searchHistory) {
|
for (const item of $scope.searchHistory) {
|
||||||
$scope.searchIcon(item);
|
$scope.searchIcon(item);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue