fix(XPack): 添加加载校验

This commit is contained in:
fit2-zhao 2020-09-23 10:11:06 +08:00
parent 5ad828ec05
commit 3dfab4b13f
1 changed files with 1 additions and 1 deletions

View File

@ -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',