diff --git a/framework/sdk-parent/frontend/src/components/layout/AsideMenus.vue b/framework/sdk-parent/frontend/src/components/layout/AsideMenus.vue index ac7d3e22d1..410fb8dd70 100644 --- a/framework/sdk-parent/frontend/src/components/layout/AsideMenus.vue +++ b/framework/sdk-parent/frontend/src/components/layout/AsideMenus.vue @@ -28,19 +28,13 @@ {{ $t('commons.api') }} -
{{ $t('commons.ui') }}
- -
- - {{ $t('commons.ui') }} -
-
@@ -145,9 +139,18 @@ export default { } }, check(key) { + if (key === 'ui' && !hasLicense()) { + return this.modules[key] === 'ENABLE'; + } let microApps = JSON.parse(sessionStorage.getItem("micro_apps")); return this.modules[key] === 'ENABLE' && microApps && microApps[key]; }, + getUiIndex() { + if (hasLicense()) { + return "ui"; + } + return ""; + }, registerEvents() { getModuleList() .then(response => { @@ -164,6 +167,9 @@ export default { }); }, clickPlanMenu() { + if (hasLicense()) { + return true; + } this.$message({ dangerouslyUseHTMLString: true, showClose: true,