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