自己不想看热门

This commit is contained in:
HelloWorld 2020-04-16 10:15:41 +08:00
parent 97a35af919
commit 70f166de70
1 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,9 @@ app.controller('menuCtr', ['$scope', '$stateParams', '$state', '$window', '$time
$scope.user = user;
$scope.searchHistory = JSON.parse(user.searchHistory || '[]');
$scope.quickUrl = JSON.parse(user.quickUrl || '{}');
if (user.username === 'lcq') {
$scope.loginMenus[dataService.LoginIndexHot].show = false;
}
for (const item of $scope.searchHistory) {
$scope.searchIcon(item);
}