feat: 删除xpack引用

This commit is contained in:
fit2cloud-chenyw 2021-03-03 15:14:56 +08:00
parent f04809c638
commit b989f32770

View File

@ -22,9 +22,9 @@ import UiSetting from './UiSetting'
import BaseSetting from './BaseSetting'
import { hasLicense } from '@/metersphere/common/js/utils'
const requireComponent = require.context('@/metersphere/common/components/xpack/', true, /\.vue$/)
const display = requireComponent.keys().length > 0 ? requireComponent('./display/Display.vue') : {}
const auth = requireComponent.keys().length > 0 ? requireComponent('./auth/Auth.vue') : {}
// const requireComponent = require.context('@/metersphere/common/components/xpack/', true, /\.vue$/)
// const display = requireComponent.keys().length > 0 ? requireComponent('./display/Display.vue') : {}
// const auth = requireComponent.keys().length > 0 ? requireComponent('./auth/Auth.vue') : {}
export default {
name: 'SystemParameterSetting',
@ -33,8 +33,8 @@ export default {
UiSetting,
EmailSetting,
LdapSetting,
'MsDisplay': display.default,
'MsAuth': auth.default
// 'MsDisplay': display.default,
// 'MsAuth': auth.default
},
data() {
return {