From 3dfab4b13ff298089e96eaff40b4d5fc3d9d5606 Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Wed, 23 Sep 2020 10:11:06 +0800 Subject: [PATCH] =?UTF-8?q?fix(XPack):=20=E6=B7=BB=E5=8A=A0=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/business/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/business/App.vue b/frontend/src/business/App.vue index 19a4248b6b..c226861e51 100644 --- a/frontend/src/business/App.vue +++ b/frontend/src/business/App.vue @@ -32,7 +32,7 @@ import {saveLocalStorage} from "../common/js/utils"; const requireComponent = require.context('@/business/components/xpack/', true, /\.vue$/); - const header = requireComponent("./license/LicenseMessage.vue"); + const header = requireComponent.keys().length > 0 ? requireComponent("./license/LicenseMessage.vue") : {}; export default { name: 'app',