From b497f80a76041b251e50010e9fe8d451d0842003 Mon Sep 17 00:00:00 2001 From: ibuler Date: Tue, 17 May 2022 18:08:53 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E5=BC=80=E5=90=AF=E5=B7=A5=E5=8D=95?= =?UTF-8?q?=E5=90=AF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/settings/Basic/index.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/views/settings/Basic/index.vue b/src/views/settings/Basic/index.vue index b9735ba17..a97e19b56 100644 --- a/src/views/settings/Basic/index.vue +++ b/src/views/settings/Basic/index.vue @@ -29,6 +29,7 @@ export default { ], [ this.$t('setting.Feature'), [ + 'TICKETS_ENABLED', 'ANNOUNCEMENT_ENABLED' ] ] @@ -42,6 +43,11 @@ export default { return !this.$store.getters.hasValidLicense } }, + TICKETS_ENABLED: { + hidden: () => { + return !this.$store.getters.hasValidLicense + } + }, ANNOUNCEMENT_ENABLED: { // label: '公告', component: Announcement