fix(XPack): 添加加载校验
This commit is contained in:
parent
5ad828ec05
commit
3dfab4b13f
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue