diff --git a/www/scripts/controllers/tags-controller.js b/www/scripts/controllers/tags-controller.js index ab1f3e7..db88994 100644 --- a/www/scripts/controllers/tags-controller.js +++ b/www/scripts/controllers/tags-controller.js @@ -9,6 +9,9 @@ app.controller('tagsCtr', ['$scope', '$filter', '$state', '$window', '$statePara (async () => { await getTags(); $scope.user = await get('user'); + if ($scope.user.username != 'lcq') { + $(".globalTag").show(); // 自己知道这个功能,不显示 + } })() let dialog = null; diff --git a/www/views/tags.html b/www/views/tags.html index 929091b..3b911fa 100644 --- a/www/views/tags.html +++ b/www/views/tags.html @@ -3,7 +3,7 @@
{{ tag.name }} ({{ tag.bookmarkCount || 0 }})
-