From 04ce0560768ad2631de01ff95ca705eac29aab6f Mon Sep 17 00:00:00 2001 From: Orange Date: Wed, 21 Apr 2021 15:12:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A4=BE=E5=8C=BA=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E9=9A=90=E8=97=8F=E5=85=A8=E5=B1=80=E7=BB=84=E7=BB=87=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/settings/Basic.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/settings/Basic.vue b/src/views/settings/Basic.vue index c5d1917e1..705adcdc6 100644 --- a/src/views/settings/Basic.vue +++ b/src/views/settings/Basic.vue @@ -24,7 +24,9 @@ export default { data() { return { fields: [ - [this.$t('common.BasicInfo'), ['SITE_URL', 'USER_GUIDE_URL', 'FORGOT_PASSWORD_URL', 'GLOBAL_ORG_DISPLAY_NAME']] + [this.$t('common.BasicInfo'), ['SITE_URL', 'USER_GUIDE_URL', 'FORGOT_PASSWORD_URL', + this.$store.getters.hasValidLicense ? 'GLOBAL_ORG_DISPLAY_NAME' : null] + ] ], successUrl: { name: 'Settings', params: { activeMenu: 'Basic' }}, url: '/api/v1/settings/setting/?category=basic'