From b286d9ce99d1b6caa815e18eb096513a09777a6b Mon Sep 17 00:00:00 2001 From: CaptainB Date: Fri, 6 Jan 2023 14:07:01 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE):?= =?UTF-8?q?=20=E6=A8=A1=E5=9D=97=E7=AE=A1=E7=90=86=E5=B7=B2=E7=BB=8F?= =?UTF-8?q?=E5=BC=80=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --task=1010909 --user=刘瑞斌 【开源计划】功能模块... https://www.tapd.cn/55049933/s/1323488 --- .../frontend/src/components/layout/AsideMenus.vue | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/framework/sdk-parent/frontend/src/components/layout/AsideMenus.vue b/framework/sdk-parent/frontend/src/components/layout/AsideMenus.vue index aaa02fae9c..ac7d3e22d1 100644 --- a/framework/sdk-parent/frontend/src/components/layout/AsideMenus.vue +++ b/framework/sdk-parent/frontend/src/components/layout/AsideMenus.vue @@ -146,16 +146,9 @@ export default { }, check(key) { let microApps = JSON.parse(sessionStorage.getItem("micro_apps")); - if (hasLicense()) { - return this.modules[key] === 'ENABLE' && microApps[key]; - } - - return microApps && microApps[key]; + return this.modules[key] === 'ENABLE' && microApps && microApps[key]; }, registerEvents() { - if (!hasLicense()) { - return; - } getModuleList() .then(response => { response.data.forEach(m => {