From dd13f85163ad600e879c2f49b954f0d617346332 Mon Sep 17 00:00:00 2001 From: HelloWorld Date: Wed, 22 Apr 2020 08:36:26 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=98=E8=AE=A4=E9=9A=90=E8=97=8F=E5=85=A8?= =?UTF-8?q?=E5=B1=80=E4=B9=A6=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- www/scripts/controllers/tags-controller.js | 3 +++ www/views/tags.html | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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 }})
-